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

vmwaretool state off/on

$
0
0

Is there a way to query if vmwaretools is running?

 

I was hoping I could get it from:

get-VM | Select Name ToolsVersionStatus but it  does not give me what I need.

 

I need to know when it is "not running"/"running"

 

what im trying to do it

 

 

....

...

...



Start-VM -VM $myvm

 

do { IS VMWARETOOL running?  if not than sleep a bit till it starts


} until  ( is vmwaretools running? ...yes) ...continue on....
            

update-tools -NoReboot .......

 

. (vmware tools needs to be running.. this is why I'm asking.

 

..

..

...

..

Excuse the prehistoric excuse for code... As you can see I am a green as the kermit the frog when it comes to powercli. but im trying....

 

 

 



Viewing all articles
Browse latest Browse all 180923

Trending Articles



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