by v.Eremin » Thu Dec 11, 2014 9:27 pm people like this post
I believe you can query backup job to find out job objects, assign required one to a variable, and, then, use something like .GetItem() or .Item to explore vSphere object and information about its original location. Thanks.
by vbogda » Fri Dec 12, 2014 2:03 pm people like this post
That's what I thought as well. However, I can't find anything in Object that will give me this information. There's Location but that's not what the Start-VBRRestoreVM command requires.
I found a way of finding the original location by utilising the Find-VBRViEntity command which gives me what I want in VmHostName but it feels like it should be possible to drill down to this information starting from the Backup job.
by v.Eremin » Sun Dec 14, 2014 1:57 pm people like this post
Once the required object was assigned have you tried to explore its available methods? Some of them like Item or GetItem() should point to vSphere VM object that contains information about the host VM resides on. Thanks.