VMware Get Host Details from PowerCLI
-
Hi All,
I just came up with a handy dandy little tool (oh, God, shoot me now) for Collecting host information from your Vmware Hosts. It's been tested against both vSphere 6.7.0u3 and 7.0.1https://gitlab.com/dafyre/powershell-utils/-/raw/master/VMware/get-hostdetail.ps1
./get-hostdetail.ps1
Make sure you are connected to one of your vSphere hosts or a vCenter server (with connect-viserver). Then, run the script with no parameters to have it spit out some of the server details to the screen../get-hostdetail.ps1 -vmhost esx01.mydomain.com
Run the script with the -vmhost parameter to only check one host../get-hostdetail.ps1 -Report
WIll generate a text file named after all servers (or you can specify a single server with the -vmhost parameter.
Thoughts / Ideas for Improvements are welcome.