Creating basic reports of VM properties using VMware Tools and PowerCLI

PowerShell has a number of features that make it great for creating reports. It includes native features to export output in CSV and Excel formats to make it easier to work with the retrieved data. You can also search and filter through your cmdlets to easily locate and then scope down the results that you want.

You might need to create basic reports to report properties in the VMs, such as disk free space or virtual hardware defined. Even better, you can be the hero when your supervisor is looking for details about virtual machines related to a particular department or an application if you know how to tap into the potential of PowerCLI and PowerShell's reporting.

As you have ...

Get PowerCLI Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.