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

PowerShell • Re: Cloud Connect Replication - List by VM

$
0
0
Hi sturmtr,

Just to confirm, you want to run this on the tenant VBR and get a list of all VMs being replicated to a provider, correct?

Quick test shows Get-VBRJobObject works just fine. Example:

Code:

$job = Get-VBRJob -name 'dd-ps-rep-test'$jObject = Get-VBRJobObject -Job $job$psData = [PSCustomObject]@{JobName = $job.NameVmName = $jObject.nameJobCreationTime = $job.Info.CreationTimeUTC}$psDataJobName        VmName    JobCreationTime-------        ------    ---------------dd-ps-rep-test dd-tinyvm 15.10.2025 11:01:23
Is it what you're looking for? I'm not sure if you're meaning replica creation time or job creation time, but to get list of VMs added to replica job, pass the job to Get-VBRJobObject

Statistics: Posted by david.domask — Oct 15, 2025 11:07 am



Viewing all articles
Browse latest Browse all 9994

Latest Images

Trending Articles



Latest Images