How To Shutdown Windows Snippet¶
To shutdown a Windows VM:
1 2 3 | $WAIT = 10 shutdown /s /t $WAIT /c "Shutdown from Attune" Write-Host "Shutting down in $WAIT seconds." |
To shutdown a Windows VM:
1 2 3 | $WAIT = 10 shutdown /s /t $WAIT /c "Shutdown from Attune" Write-Host "Shutting down in $WAIT seconds." |