Update coolup.overnight.ps1

This commit is contained in:
2024-07-23 19:58:08 -05:00
parent 2314105b42
commit 3e73c7c3de

View File

@@ -3,7 +3,7 @@
Connect-VIServer -Server $VCENTERHOST -Protocol https -User $VCENTERUSER -Password $VCENTERPASS | Out-Null
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*'} | Start-VM -Confirm:$false
Get-VM | Where {$_.Name -like '*OMSA*' -or $_.Name -like '*RustDesk Server*' -or $_.Name -like '*MySQL-Manager*'} | Where {$_.PowerState -notlike '*On*' -and $_.Name -notlike '*Offsite-Backups*'} | Start-VM -Confirm:$false
Disconnect-VIServer -Server $VCENTERHOST -Force Confirm:$false