I'm looking for a way in Powershell to get the name of the Physical server inside Computer groups.
My problem is that I have some Windows Agent Backup Job, one per client, with their physical servers inside a protection group.
I want to be able to retrieve these Jobs, and see which servers are inside the backup.
Do you know any way of doing this in Powershell ?
I already tried something like this :
Code: Select all
asnp veeampssnapin
$Jobs = Get-VBRJob | ?{$_.TypetoString -eq "Windows Agent Backup"}
ForEach ($job in $jobs) {
foreach ($object in $job.GetObjectsInJob()) { }
Cheers,
Lucas H