VMware Cloud Community
vAJ
Contributor
Contributor

Export VM Inventory into CSV

Hi Experts,

I am looking to export all the VM attributes along with the Tag and Category to fill it in a report. But the Get-VM doesn't display any tags here.

This is what I am willing to do. I would like to export all the attributes which are usually there in vSphere inventory along with Tags and putting it to a csv file. Sorry but I am completely new to PowerCli and may have missed out something here.

Any script here would be appreciated!

1 Reply
LucD
Leadership
Leadership

Did you already see the latest PowerCLI Blog post , called Using vSphere Tags with PowerCLI


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