PowerShell script exchange
Post Reply
damind
Novice
Posts: 8
Liked: never
Joined: Sep 25, 2012 7:47 pm
Contact:

Display replica seeding status

Post by damind »

Hello,

I am looking to display the status of the "Low connection bandwidth (enable replica seeding) check box. So far I have found the Set-VBRViReplicaJob -EnableSeeding option to set it but I am not able to find how to list my replica jobs that have seeding enabled. Any help would be appreciated.

Thanks,

Damin
tdewin
Veeam Software
Posts: 1775
Liked: 646 times
Joined: Mar 02, 2012 1:40 pm
Full Name: Timothy Dewin
Contact:

Re: Display replica seeding status

Post by tdewin »

Couldn't validate it but I think this should work:

Code: Select all

$job = get-vbrjob -name "Replica job 1"
$VBRJobOptions  = Get-VBRJobOptions -job $job
$VBRJobOptions.ViReplicaTargetOptions.InitialSeeding
damind
Novice
Posts: 8
Liked: never
Joined: Sep 25, 2012 7:47 pm
Contact:

Re: Display replica seeding status

Post by damind »

Thank you for the script. I modified it to report on all replica jobs to come up with this:

Code: Select all

$jobs = get-vbrjob | ? {$_.isreplica}
foreach ($job in $jobs) {
$VBRJobOptions  = Get-VBRJobOptions -job $job
Write-host $VBRJobOptions.ViReplicaTargetOptions.InitialSeeding `t`t $job.Name
Thanks again.
Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests