VMware Cloud Community
jackBN
Contributor
Contributor
Jump to solution

List all VMs and their allocated procs and memory

Is there a script that will list out all virtual machines in my environment and how many processors and memory is allocated to them? Thank you in advance for your help.

Reply
0 Kudos
1 Solution

Accepted Solutions
Troy_Clavell
Immortal
Immortal
Jump to solution

This isn't actually a PowerCLI thing, but you may want to check at RVTools

View solution in original post

Reply
0 Kudos
6 Replies
RParker
Immortal
Immortal
Jump to solution

Export won't work?

File -> Export -> List from VI Client

or Veeam Reporter will do it.

jackBN
Contributor
Contributor
Jump to solution

thank you the veeam reporter is a trial and will not give me everything. List - export only gives me the VMS i need their procs and memory also

Reply
0 Kudos
Troy_Clavell
Immortal
Immortal
Jump to solution

This isn't actually a PowerCLI thing, but you may want to check at RVTools

Reply
0 Kudos
jackBN
Contributor
Contributor
Jump to solution

Exactly what i was looking for!!!!! THANK YOU!!!

Reply
0 Kudos
sherold
Expert
Expert
Jump to solution

Get-VM | select Name,NumCPU,MemoryMB | Export-Csv c:\VMExport.csv -NoTypeInformation

-Scott

________________________

http://www.vmguru.com

http://www.thevesi.org

-Scott ________________________ http://www.vmguru.com http://www.thevesi.org
Reply
0 Kudos
RParker
Immortal
Immortal
Jump to solution

RV Tools is good, but export will do the SAME thing.

The trick is you need to select the colums you want to SEE first, THEN you can export just those columns. It shows you everything.

RV Tools does make the job simpler, however.

Reply
0 Kudos