Solved

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

Posted on 2013-06-25
3
504 Views
Last Modified: 2013-06-25
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
0
Comment
Question by:msidnam
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 42

Expert Comment

by:sedgwick
ID: 39274463
Get-VM -VMMServer ''vn-server' | select VMHost, name , Memory, CPUCount , Status | export-csv c:\temp\vm_info.csv -NoTypeInformation 

Open in new window

0
 
LVL 120

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 39274465
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
 
LVL 2

Author Closing Comment

by:msidnam
ID: 39274525
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

Featured Post

Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Nano Server Image Builder helps you create a custom Nano Server image and bootable USB media with the aid of a graphical interface. Based on the inputs you provide, it generates images for deployment and creates reusable PowerShell scripts that …
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question