This commit is contained in:
2023-11-01 08:45:43 -05:00
parent edc966ba32
commit 9e7235dadb
9 changed files with 18 additions and 0 deletions

View File

@@ -5,3 +5,5 @@
Connect-VIServer -Server $args[0] -Protocol https -User $ESXiUsername -Password $ESXiPassword | Out-Null
Get-VM | Where {$_.PowerState -like '*On*' -and ($_.Name -like '*MySQL-Node*' -or $_.Name -like '*LAN-DNS*')} | Suspend-VM -Confirm:$false
exit 0