Found on internet – PowerCLI scripts

I’ve been looking for PowerCLI script which would help me to pull performance data for VM’s from vCenter server. I found them googling through vmware communities, source at the bottom of the page.

First script pulls from vCenter – VM performance counters and export to CSV file.

  • cpu Maximum
  • cpu Average
  • cpu Minimum
  • mem Maximum
  • mem Average
  • mem Minimum


Second script calculate guest OS disk usage and export to CSV file.


Artur Krzywdzinski

Artur is Consulting Architect at Nutanix. He has been using, designing and deploying VMware based solutions since 2005 and Microsoft since 2012. He specialize in designing and implementing private and hybrid cloud solution based on VMware and Microsoft software stacks, datacenter migrations and transformation, disaster avoidance. Artur holds VMware Certified Design Expert certification (VCDX #077).