Update iscsi-sys-vm-shutdown-verify.ps1
This commit is contained in:
1 parent
5cbea64530
commit
bd156a2f34
1 file changed
+1
@@ -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'
|
||||
|
||||
Reference in new issue
Block a user