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

Shutdown-VMGuest

$
0
0

I have a script contining the Shutdown-VMGuest command.

I had a problem because the script was executed during the night and hung after issuing the Shutdown-VMGuest because the VMwate tools inside the VM were stopped.

The following instructions (including a check on the state of the VM) were not executed.

Is there any way to control the execution of the command, i.e. getting a result or a return code, something like:

 

$success = Shutdown-VMGuest

 

Regards

marius

 


Viewing all articles
Browse latest Browse all 175326

Trending Articles



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