Josonic
5 years agoLevel 2
VSR Scripting - How to get Image Job Network User
Hi, I have successfully used the example powershell scripts that come with VSR 18 to script creating backup jobs, that back up to a network drive. I am now trying to write a script to get each Image...
- 5 years ago
SOLVED: In answer to my own question, the (powershell) solution is:-
$v2iAuto = New-Object -ComObject "Veritas.ProtectorAuto"
$v2iAuto.Connect($env:COMPUTERNAME)
ForEach($ImageJob in $v2iAuto.ImageJobs)
{Write-Host $ImageJob.Location($ImageJob.Volumes[0]).NetworkUser
}