Update vm-shutdown.ps1
This commit is contained in:
@@ -13,6 +13,8 @@ Foreach ($vmhost in $vmhosts)
|
|||||||
if ([string]::IsNullOrEmpty($migrating)) {
|
if ([string]::IsNullOrEmpty($migrating)) {
|
||||||
write-host "Shutting down "+$vm
|
write-host "Shutting down "+$vm
|
||||||
#Get-VM $vm | Shutdown-VMGuest -Confirm:$false
|
#Get-VM $vm | Shutdown-VMGuest -Confirm:$false
|
||||||
|
} else {
|
||||||
|
write-host "MIGRATING "+$vm
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user