Update iscsi-sys-vm-shutdown-verify.ps1

This commit is contained in:
2023-12-30 10:06:41 -06:00
parent 5cbea64530
commit bd156a2f34

View File

@@ -22,6 +22,7 @@ Do {
Foreach ($VM in $VMLIST) {
$VMI = Get-VM $VM
if ($VMI -eq $null -Or $VMI.PowerState -match 'PoweredOn') {
$poff = 'no'
break
} else {
$poff = 'yes'