Intune Initial Scripts Backup
This commit is contained in:
7
dump/WSUS_Scripts/Old-Scripts/Start-Backups.ps1
Normal file
7
dump/WSUS_Scripts/Old-Scripts/Start-Backups.ps1
Normal file
@@ -0,0 +1,7 @@
|
||||
#Enable VEEAM Job Scheduler at the end of maintenance
|
||||
Add-PSSnapin -Name VeeamPSSnapIn
|
||||
Connect-VBRServer -Server PVEB001
|
||||
Get-VBRJob | where {$_.JobTargetType -eq "Backup" -and $_.IsScheduleEnabled -eq $true} | Enable-VBRJobSchedule
|
||||
Disconnect-VBRServer
|
||||
Send-MailMessage -SmtpServer smtp.ccx.carecentrix.com -To windows-admins@carecentrix.com -From backups@carecentrix.com -Subject "Veeam Backups Started" -Body "The Veeam Backup Jobs have been rescheduled after the infrastructure weekend.Please verify they are running as expected."
|
||||
Exit
|
||||
Reference in New Issue
Block a user