update
This commit is contained in:
@@ -6,4 +6,4 @@ Connect-VIServer -Server $args[0] -Protocol https -User $ESXiUsername -Password
|
||||
|
||||
Get-VM | Where {$_.PowerState -like '*On*' -and $_.Name -like '*CLS*'} | Shutdown-VMGuest -Confirm:$false
|
||||
|
||||
exit 0
|
||||
Disconnect-VIServer -Server $args[0] -Force –Confirm:$false
|
||||
Reference in New Issue
Block a user