http://blog.smasterson.com/2016/02/16/v ... rt-v9-0-1/
Highlights include:
- VBR v9 support
Simplified repository info gathering
Updated Get-VMsBackupStatus to remove obsolete cmdlet warning
Ability to run from system with 'console only' install
Code: Select all
$vbrtasksessions = (Get-VBRBackupSession |
Where-Object {$_.JobType -eq "Backup" -and $_.EndTime -ge (Get-Date).addhours(-$script:HourstoCheck)}) |
Get-VBRTaskSession | Where-Object {$_.Status -ne "Failed"}
Code: Select all
$vbrtasksessions = $allSesh |
Where-Object {$_.JobType -eq "Backup" -and $_.EndTime -ge (Get-Date).addhours(-$script:HourstoCheck)} |
Get-VBRTaskSession | Where-Object {$_.Status -ne "Failed"}
Code: Select all
$vbrtasksessions = $script:allSesh |
Where-Object {($_.JobType -eq "Backup") -and
($_.EndTime -ge (Get-Date).addhours(-$script:HourstoCheck) -or $_.State -eq "Working")} |
Get-VBRTaskSession | Where-Object {$_.Status -notmatch "Failed|InProgress|Pending"}
Code: Select all
Add-PSSnapin "VeeamPSSnapIn" -ErrorAction SilentlyContinue
Code: Select all
Add-PSSnapin "VeeamPSSnapIn" -ErrorAction Stop
Users browsing this forum: No registered users and 17 guests