PowerShell script exchange
Post Reply
ThierryF
Influencer
Posts: 24
Liked: 4 times
Joined: Mar 31, 2018 10:20 am
Contact:

Get-VBRjob|Get-VBRJobObject : VM location bug ?

Post by ThierryF » Apr 14, 2018 1:09 pm

Hello,
Using VBR 9.5, when grabbing job member using powershell "Get-VBRjob|Get-VBRJobObject",
vm's location in vmjobobject is not always reliable : for EVmware vm, for some, location
is vi location (VCenter\Datacenter\Cluster), for some other, it's application folder path... ?

How is it possible to force to location to vi location (VCenter\Datacenter\Cluster) ?

Thanks

TH

v.Eremin
Veeam Software
Posts: 15150
Liked: 1141 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Get-VBRjob|Get-VBRJobObject : VM location bug ?

Post by v.Eremin » Apr 16, 2018 1:59 pm

What kind of objects are specified as job source? Individual VMs, Resource Pools, Folders, etc.? And what type of path you'd like to get? Thanks.

tsightler
Veeam Software
Posts: 5195
Liked: 2078 times
Joined: Jun 05, 2009 12:57 pm
Full Name: Tom Sightler
Contact:

Re: Get-VBRjob|Get-VBRJobObject : VM location bug ?

Post by tsightler » Apr 16, 2018 2:59 pm

My guess is that it's based on which view they were added from. If the object was added from the Hosts and Clusters view, it will have the Datacenter path, if it was added from the VM and Templates view, it will have the folder path.

Post Reply

Who is online

Users browsing this forum: it.tech@crocco.com and 9 guests