Quantcast
Channel: VMware Communities : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 176483

Update VMware Tools?

$
0
0

Last night I ran the following powercli command with the hopes of updating the VMware Tools on some of my VM's without the VM rebooting.  The script seemed to run fine in that the tools did get updated correctly but unfortunately all the VM's were rebooted as soon as the update completed.

 

Can someone inspect my code and tell me what I have wrong?

 

Get-Content "c:\scripts\txt_files\VMs.txt" | Foreach-Object {Get-VM -Name $_ | Update-Tools -NoReboot -RunAsync }

 

 

Thanks,

Jason


Viewing all articles
Browse latest Browse all 176483

Trending Articles



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