Tag Archive for vmware csv report

How To Export PowerCLI vCenter Reports

This is a quick post on how to generate some reports from vCenter through PowerCLI.

Log in to your vCenter server via PowerCLI and run a report of your choice:

Virtual Machine Report:

Get-VM | Export-Csv -Path “c:\vmreport.csv”

Snapshot Report:

Get-VM | Get-Snapshot | Export-Csv -Path “c:\snapshotreport.csv”

Datastore Report:

Get-Datastore | Export-Csv -Path “c:\datastorereport.csv”

Host Report:

Get-VMHost | Export-Csv -Path “c:\hostreport.csv”

Cluster Report:

Get-Cluster | Export-Csv -Path “c:\clusterreport.csv”

Thanks for reading.