basteku73
Enthusiast
Enthusiast

PowerCLI - Export and Import Custom Attributes in vCenter 6.5

Jump to solution

Hi,

I found a great article describing how to do it, I mean how to export and import custom attribites with PowerCLI. Its here:

Import–Export VM custom attributes from vCenter with PowerCLI | VirtualByte

But, there is a problem with import exported attributes in PowerCLI 6.5 for vCenter 6.5. There is no cmdlet Set-CustomField. I cannot find any other cmdlet which can do it. I'm wondering if its not a bug ? Is there maybe other way to do this ? Or maybe there is other cmdlet ?

Regards,

Sebastian

0 Kudos
1 Solution

Accepted Solutions
vasan22in
Enthusiast
Enthusiast

Hello,

Can you try Set-Annotation or Set-CustomAttribute

Please consider marking this answer "correct" or "helpful" if you think your query have been answered correctly. Thanks, Srini

View solution in original post

0 Kudos
2 Replies
vasan22in
Enthusiast
Enthusiast

Hello,

Can you try Set-Annotation or Set-CustomAttribute

Please consider marking this answer "correct" or "helpful" if you think your query have been answered correctly. Thanks, Srini

View solution in original post

0 Kudos
basteku73
Enthusiast
Enthusiast

Hi,

Thx Smiley Happy in fact worked:

Get-VM xxx | Set-Annotation

Regards,

Sebastian

0 Kudos