VMware Cloud Community
faf1967
Contributor
Contributor

VMWare Tools check for running or not running

I'm trying to find a script that will check each VM in a cluster to see if the VMWare tools are currently running.  I only need to see if the tools are running or not.  Output would be something like

server A      running

server b      not running

0 Kudos
2 Replies
LucD
Leadership
Leadership

Try like this

Get-VM | Select Name, @{N = 'ToolsStatus'; E = {$_.Guest.State}}


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
faf1967
Contributor
Contributor

Thank you
0 Kudos