Updated: Get The List of All VMs in Virtual Machine Manager and Their Virtual Disks #SCVMM #HyperV #PowerShell

Introduction

A while ago, I published a PowerShell script that will query System Center Virtual Machine Manager (SC VMM) to get all Virtual Machines including their Virtual Hard Disks, then it will calculate the size and percentage used for each VHD(X), and finally send you a nicely formatted HTML email report. You can read about it here.


Recently I was working on a project and I had a requirement to know the actual disk size used for each VM and the total disk space used for all Virtual Machines.

Here is the updated output report.

As you can see in the report above, I have added the total disk space used for each VM, and the total disk space used for all virtual machines. This will help you to know the disk foot print used on your storage, then you can take the necessary action.

How to use this tool

You can download the updated copy of this tool from TechNet here.

This is version 4.0, do you want additional features? Please feel free to leave a comment below.

Thank You!

Cheers,
[email protected]

Advertisements
About Charbel Nemnom 406 Articles
Charbel Nemnom is a Cloud Solutions Architect and Microsoft Most Valuable Professional (MVP), totally fan of the latest's IT platform solutions, accomplished hands-on technical professional with over 17 years of broad IT Infrastructure experience serving on and guiding technical teams to optimize performance of mission-critical enterprise systems. Excellent communicator adept at identifying business needs and bridging the gap between functional groups and technology to foster targeted and innovative IT project development. Well respected by peers through demonstrating passion for technology and performance improvement. Extensive practical knowledge of complex systems builds, network design and virtualization.

Be the first to comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.