PowerShell script exchange
Post Reply
masonit
Service Provider
Posts: 325
Liked: 23 times
Joined: Oct 09, 2012 2:30 pm
Full Name: Maso
Contact:

VCloud metadata

Post by masonit »

Hi!

Is there a way to find vcloud director metadata using Veeam ps? I have done some testing with Find-VBRvCloudEntity. But no metadata info.

\Magnus
Mildur
Product Manager
Posts: 8735
Liked: 2296 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: VCloud metadata

Post by Mildur »

Hi Magnus

What Metadata are you looking for?
The one from the VMs?
Image

Thanks
Fabian
Product Management Analyst @ Veeam Software
masonit
Service Provider
Posts: 325
Liked: 23 times
Joined: Oct 09, 2012 2:30 pm
Full Name: Maso
Contact:

Re: VCloud metadata

Post by masonit »

Hi!

Yes, but also metadata you can find under "Administration".

\Magnus
oleg.feoktistov
Veeam Software
Posts: 1918
Liked: 636 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: VCloud metadata

Post by oleg.feoktistov »

Hi Magnus,

We don't keep vCloud metadata in our powershell classes. So, the nearest ps way would be PowerCLI module.
For example, to pull organization metadata you would need Get-Org cmdlet together with metadata method:

Code: Select all

$org = Get-Org 
$org.ExtensionData.GetMetadata()
Thanks,
Oleg
masonit
Service Provider
Posts: 325
Liked: 23 times
Joined: Oct 09, 2012 2:30 pm
Full Name: Maso
Contact:

Re: VCloud metadata

Post by masonit »

Ok, thanks! I know I can use powercli but would be nice if it could be collected with Veeam ps. Then I would not have to think about authentication because it is already built-in Veeam.

Is it possible to collect Veeam credentials for a vcloud director and then use that credential objects when connecting with Powercli?

\Magnus
oleg.feoktistov
Veeam Software
Posts: 1918
Liked: 636 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: VCloud metadata

Post by oleg.feoktistov »

Noted obtaining metadata as a feature request. As for credentials case, there is no type conversion supported between Veeam and PowerCLI modules, and there is virtually no way (at least that I know of) to get plain password for VBR credentials through powershell. So, you'd still need to type in your password manually.
Thanks,
Oleg
Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 16 guests