PowerShell script exchange
Post Reply
btridon
Service Provider
Posts: 9
Liked: 1 time
Joined: Oct 26, 2015 10:39 am
Full Name: Benjamin T.
Location: FRANCE
Contact:

List of VMs replicated

Post by btridon »

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
PTide
Product Manager
Posts: 6431
Liked: 729 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: List of VMs replicated

Post by PTide »

Hi,

Please try this

Code: Select all

$replicaJob=Get-VBRReplica -Name "Job Name"
$replica.GetBackupReplicas()
Thanks
Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests