This commit is contained in:
2024-09-08 10:05:33 -05:00
parent 1f9020b8b9
commit 2d4acfb838
14 changed files with 14 additions and 14 deletions

View File

@@ -5,7 +5,7 @@ Connect-VIServer -Server $VCENTERHOST -Protocol https -User $VCENTERUSER -Passwo
Get-VM | Where {$_.Name -like '*OMSA*' -or $_.Name -like '*RustDesk Server*' -or $_.Name -like '*MySQL-Manager*'} | Where {$_.PowerState -like '*On*' -and $_.Name -notlike '*Offsite-Backups*'} | Shutdown-VMGuest -Confirm:$false
# Disconnect-VIServer -Server $VCENTERHOST -Force Confirm:$false
Disconnect-VIServer -Server $VCENTERHOST -Force Confirm:$false