I've found this script into a 2012 post:
Code: Select all
PS C:\> Get-Content C:\jobs.txt | ForEach-Object {Get-VBRBackupSession | Select-
Object JobName, Result} if ((Get-VBRJob | ?{$_.Name -eq $LastJobName}).GetLastresult() -eq "Success" {shutdown.exe -s -t 1}
Are they something new ?
Thanks