Quantcast
Channel: R&D Forums
Viewing all articles
Browse latest Browse all 9935

PowerShell • Re: v12.1 powershell module SureBackup object types

$
0
0
Hi Jonathan,

Although SureBackup job objects don't hold type properties, you can differentiate them by calling .GetType() on each job instance and then write your logic around it. Example:

Code:

$jobs = Get-VBRSureBackupJobforeach ($job in $jobs) {  $jobType = $job.GetType()  $job | select Name, @{n='Type';e={$jobType}}}
Best regards,
Oleg

Statistics: Posted by oleg.feoktistov — Dec 27, 2023 7:04 pm



Viewing all articles
Browse latest Browse all 9935

Latest Images

Trending Articles



Latest Images