How to list all replication jobs and re-ip settings

PowerShell script exchange

How to list all replication jobs and re-ip settings

Veeam Logoby drkuhlman » Wed Apr 13, 2016 5:16 pm

Hi folks. We're getting ready for DR testing and I need to do a review of all replication jobs. I need to verify their Re-IP settings for subnet mask, gateway, and IP address. Is there a report that will list all of this information, or has someone put together a Powershell script to create it?

I did search the Forums, and saw a couple items that listed some data, but didn't find anything that would specifically list the replication settings and the details we need.

Thanks,

Don K
drkuhlman
Lurker
 
Posts: 2
Liked: never
Joined: Mon Nov 09, 2015 2:37 pm
Full Name: Don K

Re: How to list all replication jobs and re-ip settings

Veeam Logoby v.Eremin » Wed Apr 13, 2016 5:25 pm

Is the following script something you're looking for:

Code: Select all
foreach ($Job in (Get-VBRJob | where {$_.JobType -eq "Replica"}))
    {
        $Job.Name
        Get-VBRViReplicaReIpRule -Job $Job
    }


Replace Get-VBRViReplicaReIpRule with Get-VBRHvReplicaReIpRule, if you're running Hyper-V.

Thanks.
v.Eremin
Veeam Software
 
Posts: 13266
Liked: 968 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: How to list all replication jobs and re-ip settings

Veeam Logoby drkuhlman » Fri Apr 15, 2016 1:20 pm

Yes! That's what I was hoping to do. Thanks very much for the quick reply and help!
Don K
drkuhlman
Lurker
 
Posts: 2
Liked: never
Joined: Mon Nov 09, 2015 2:37 pm
Full Name: Don K

Re: How to list all replication jobs and re-ip settings

Veeam Logoby v.Eremin » Fri Apr 15, 2016 2:23 pm

You're welcome. Feel free to ask for additional help, if required. Thanks.
v.Eremin
Veeam Software
 
Posts: 13266
Liked: 968 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin


Return to PowerShell



Who is online

Users browsing this forum: No registered users and 5 guests