Hi,
I wanted to findout the no of VMs in entire VC with their names in CSV format.
thanks
vmguru
This should work
Get-VM | Select Name | Export-Csv "C:\report.csv" -NoTypeInformation -UseCulture
To get the number you can do
(Get-VM | Measure-Object).Count
Thaks LucD
You are awasome. perfect time i got response
vmguy
For quick & trivial queries like these, I prefer to just use RVTools. http://www.robware.net.
It's a GREAT tool for exporting a LOT of information into CSV files quickly.