Looking for a way to export VMWare VM's to a txt or csv file

Hello Everyone,
I was wondering if their is a way to export a list of VM's from a cluster that would include basic info like name, hdd size, number of cpu's and ram and push it to a txt or csv file?

i have the the VMWare PowerCLI installed
LVL 2
msidnamAsked:
Who is Participating?
 
Andrew Hancock (VMware vExpert / EE MVE^2)Connect With a Mentor VMware and Virtualization ConsultantCommented:
But there is really no need to use PowerCLI, you can just Right Click Virtual Machines, in the virtual machines Tab, and select Export List!

and select your header fields to include details you want in the html or csv report!

exportlist
using the vSphere Client!

how about using RV Tools - http://www.robware.net/

it allows you to select a a lot of information, and export to CSV
0
 
Meir RivkinFull stack Software EngineerCommented:
Get-VM -VMMServer ''vn-server' | select VMHost, name , Memory, CPUCount , Status | export-csv c:\temp\vm_info.csv -NoTypeInformation 

Open in new window

0
 
msidnamAuthor Commented:
Thank you. All the times ive been in that area to export system logs, i never once thought export list was for VM's.

Thank you.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.