PowerShell Cmdlet to pull category?

  • 22 March 2021
  • 1 reply

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?

1 reply

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.