diff --git a/esxi-scripts/vm-shutdown.ps1 b/esxi-scripts/vm-shutdown.ps1 index 0da8596c..f9c2b663 100755 --- a/esxi-scripts/vm-shutdown.ps1 +++ b/esxi-scripts/vm-shutdown.ps1 @@ -13,6 +13,8 @@ Foreach ($vmhost in $vmhosts) if ([string]::IsNullOrEmpty($migrating)) { write-host "Shutting down "+$vm #Get-VM $vm | Shutdown-VMGuest -Confirm:$false + } else { + write-host "MIGRATING "+$vm } } }