Quantcast
Channel: VMware Communities : All Content - VMware View
Viewing all articles
Browse latest Browse all 9103

How to get View pool desktop status

$
0
0

Hello All,

 

I am looking for a PowerCLI script where I can define my pool name then get a total count of the status of the desktops in that pool.  I have tried several searches that have led me no where, ideally the script would output to a csv file like so...

 

Number of Desktops "Available" = 6

Number of Desktops "Connected" = 1

Number of Desktops "Agent Unreachable" = 1

Number of Desktops "Error" = 1

Number of Desktops "Other" = 1

 

The purpose of this script is when I run my weekly scheduled scripts to refresh a pool(s) I would like to kick off a final script that reports at completion with the above mentioned output.  Can some one please help me from getting any more gray hair?

 

 

Thank you

(Will award points for helpful information)


Viewing all articles
Browse latest Browse all 9103

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>