This commit is contained in:
2023-11-04 15:40:56 -05:00
parent d96bdfeaa7
commit 2f9c433ddb
2 changed files with 9 additions and 2 deletions

View File

@@ -4,6 +4,6 @@
Connect-VIServer -Server $args[0] -Protocol https -User $ESXiUsername -Password $ESXiPassword | Out-Null
Get-VM | Where {$_.Name -like '*iSCSI-Server*'} | Shutdown-VMGuest -Confirm:$false
Get-VM | Where {$_.Name -like '*iSCSI-*'} | Shutdown-VMGuest -Confirm:$false
exit 0