PowerShell Cmdlet to pull category? | Nutanix Community
Skip to main content
Question

PowerShell Cmdlet to pull category?


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

  • 1 reply
  • July 15, 2021

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. 


Forum|alt.badge.img+2
  • Trailblazer
  • 16 replies
  • November 8, 2021

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.