Question

PowerShell Cmdlet to pull category?

  • 22 March 2021
  • 2 replies
  • 88 views

I may be having a case of the stupids, but I am trying to find the PowerShell cmdlet that will let you pull information of categories assigned to a VM. I’m running the Get-NTNXVM cmdlet but I do not see the category listed for the VM. Additionally, when I run a Get-NTNXTag it returns “No data found”. Does anyone know how I can pull category info for VMs via PowerShell?


2 replies

I am looking for the same thing.  There isn’t a cmdlet for getting categories assigned to the VM that’s published from what I see.  Also, the “tags” seem to only be able to be assigned through API which isn’t how we want to pull this info. 

Badge +1

What cmdlet version are you using?  The original cmdlets probably didn’t have them and you would need to be getting that info from a prism central cluster not a prism elements one.

Reply