Automation

 View Only
  • 1.  PowerCLI - Create Categories and Tags?

    Posted Sep 24, 2012 03:25 PM

    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



  • 2.  RE: PowerCLI - Create Categories and Tags?

    Posted Sep 24, 2012 03:34 PM

    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.



  • 3.  RE: PowerCLI - Create Categories and Tags?

    Posted Sep 24, 2012 03:50 PM

    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" :smileyhappy:

    Sam