SamMcGeown
Contributor
Contributor

PowerCLI - Create Categories and Tags?

Hi,

I've been trawling the documentation and Google for an afternoon now, but I can't find a way of creating a Category and Tag in PowerCLI 5.1 R1 - does anyone know if this is possible? The custom attribute wizard is shockingly poor, I need to be able to PoSH my existing attributes into Tags.

Thanks,

Sam

0 Kudos
2 Replies
LucD
Leadership
Leadership

I'm afraid there aren't any Tag cmdlets.

In fact there are no documented methods in the API Reference for the Tag object either.

William did a post on settings tags through the MOB.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

SamMcGeown
Contributor
Contributor

Thanks LucD,

I can see the "Tag" attribute using "Get-VM VM | Get-View" but it has no methods and doesn't appear to reflect the Tags in the console.

Not sure about the MOB method, I was hoping for something more "supported" Smiley Happy

Sam

0 Kudos