From d3718db37a557f0352729c7943e850d31aad7f6a Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 23 Jul 2024 17:43:35 -0500 Subject: [PATCH] update --- defaults.inc | 2 +- esxi-scripts/cooldown.overnight.ps1 | 2 +- esxi-scripts/coolup.overnight.ps1 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/defaults.inc b/defaults.inc index 5068755e..d13315e4 100755 --- a/defaults.inc +++ b/defaults.inc @@ -1,6 +1,6 @@ #!/usr/bin/env bash -VERS='2.7.72-07232024' +VERS='2.7.74-07232024' noheader=' update service dailytemp confsync -r -report test ' diff --git a/esxi-scripts/cooldown.overnight.ps1 b/esxi-scripts/cooldown.overnight.ps1 index a2f9ca33..a909cd70 100755 --- a/esxi-scripts/cooldown.overnight.ps1 +++ b/esxi-scripts/cooldown.overnight.ps1 @@ -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*'} | Shutdown-VMGuest -Confirm:$false +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 diff --git a/esxi-scripts/coolup.overnight.ps1 b/esxi-scripts/coolup.overnight.ps1 index 13ee989d..96688ce2 100755 --- a/esxi-scripts/coolup.overnight.ps1 +++ b/esxi-scripts/coolup.overnight.ps1 @@ -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 -like '*On*' -and $_.Name -notlike '*Offsite-Backups*'} | Start-VM -Confirm:$false Disconnect-VIServer -Server $VCENTERHOST -Force –Confirm:$false