PowerShell script exchange
Post Reply
ThierryF
Expert
Posts: 129
Liked: 33 times
Joined: Mar 31, 2018 10:20 am
Contact:

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

Post by ThierryF »

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
veremin
Product Manager
Posts: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

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

Post by veremin »

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
VP, Product Management
Posts: 6009
Liked: 2843 times
Joined: Jun 05, 2009 12:57 pm
Full Name: Tom Sightler
Contact:

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

Post by tsightler »

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: No registered users and 23 guests