How To Export List of VMs from vSphere to CSV

Requirements Execution policy set to RemoteSigned or lower. Set-ExecutionPolicy -ExecutionPolicy RemoteSigned Occasionally, every admin has to create a report for their boss. If you are in need of the list of all VMs in your vSphere environment, there is an easy way to export that to CSV file using Powershell. To start, you have to install VMware PowerCLI module from…