List of VMs replicated

PowerShell script exchange

List of VMs replicated

Veeam Logoby btridon » Tue Oct 11, 2016 2:51 pm

Hello everyone,

We have a Veeam v9 Replication Job and we want to return with a ps1 file the list of VMs in this jobs and their states if possible.
I can't do this with a replica job. Today I can just return "Get-VBRReplica" and this return me :
- Info
- Id
- Job Name
- Path
etc.

And I found nothing about the name of all VM in this job...

Anyone please ?

Thank you in advance

Benjamin
btridon
Veeam ProPartner
 
Posts: 7
Liked: 1 time
Joined: Mon Oct 26, 2015 10:39 am
Location: FRANCE
Full Name: Benjamin T.

Re: List of VMs replicated

Veeam Logoby PTide » Wed Oct 12, 2016 8:55 am

Hi,

Please try this

Code: Select all
$replicaJob=Get-VBRReplica -Name "Job Name"
$replica.GetBackupReplicas()

Thanks
PTide
Veeam Software
 
Posts: 3019
Liked: 246 times
Joined: Tue May 19, 2015 1:46 pm


Return to PowerShell



Who is online

Users browsing this forum: No registered users and 3 guests