ListVMs is a powershell script that retrieves a list of virtual machines from hostIP hosts or vCenter Server using PowerCli, extracting a subset of vm properties values returned by Get-View. Hosts names(IPs) and credentials are saved in a XMl file ( config.xml for this script). The script saves reports to disk and automatically displays the reports converted to HTML by invoking the default browser. Reports are exported to Excel using Import-Excel Modules from https://github.com/dfinke/ImportExcel. You can install this Module from PowerShell Gallery : https://www.powershellgallery.com/packages/ImportExcel/5.3.4
.\listvms <sortBy>:[Optional] <exportTo>:[optional]
Change params to suit your needs
- VMware Infrastructure
- ImportExcel Modules
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
TODO: Write history
TODO: Write credits
This project is licensed under the MIT License - see the LICENSE.md file for details
- Arnaud Mutana - kardudu ©