Hi shahn,
Agree with Ben here, we need to know errors or what's happening to help![Smile :)]()
But, your script is using unsupported methods (section 5.8~) and I do not advise using these unless you're prepared to research and learn them on your own and prepared for the potential risks.
With supported methods, you can just do:
$AllPSessData will now have full CBackupSession objects for your plugin backup sessions. Each of the CBackupSession can be further passed to Get-VBRTaskSession on the -Session parameter to get the further details.
Play with that a bit and see if you can get your script going.
Agree with Ben here, we need to know errors or what's happening to help
But, your script is using unsupported methods (section 5.8~) and I do not advise using these unless you're prepared to research and learn them on your own and prepared for the potential risks.
With supported methods, you can just do:
Code:
$PluginSess = Get-VBRPluginBackupSession -Name "some job name or part of the name with wild cards" | Sort -Property CreationTime -Descending$AllPSessData = Get-VBRBackupSession -Id $PluginSess.idPlay with that a bit and see if you can get your script going.
Statistics: Posted by david.domask — Jul 18, 2024 11:47 am






