From 940a5140a11d4ac9eae82b0ee7d7ed0f3bdad543 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Fri, 2 Feb 2024 08:48:59 -0600 Subject: [PATCH] Update vm-shutdown.ps1 --- esxi-scripts/vm-shutdown.ps1 | 2 ++ 1 file changed, 2 insertions(+) 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 } } }