PowerCLI

 View Only
  • 1.  List all VMs and their allocated procs and memory

    Posted Aug 27, 2009 09:12 PM

    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.



  • 2.  RE: List all VMs and their allocated procs and memory

    Posted Aug 27, 2009 09:44 PM

    Export won't work?

    File -> Export -> List from VI Client

    or Veeam Reporter will do it.



  • 3.  RE: List all VMs and their allocated procs and memory

    Posted Aug 27, 2009 10:05 PM

    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



  • 4.  RE: List all VMs and their allocated procs and memory

    Posted Aug 28, 2009 01:51 PM

    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.



  • 5.  RE: List all VMs and their allocated procs and memory
    Best Answer

    Posted Aug 27, 2009 10:07 PM

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



  • 6.  RE: List all VMs and their allocated procs and memory

    Posted Aug 27, 2009 10:30 PM

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



  • 7.  RE: List all VMs and their allocated procs and memory

    Posted Aug 28, 2009 01:25 PM

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

    -Scott

    ________________________

    http://www.vmguru.com

    http://www.thevesi.org