I have put this function together for the purpose of documenting cluster settings. Used it a fair bit to gather information on environments that I have come accross that have not been well documented. In can be used as is but I’m fiddling around with it to produce some further information so likely to be updated in the near future. Hopefully of some use – connect to vCenter from POWERCLI and run the function. get-clusterdetails
I’ve recently had to audit and document several vSphere environments. Multiple hosts had been configured manually and there were some mistakes in the IP settings. I put together this POWERCLI function to report back on these settings and will now use it for documentation moving forward. Hopefully of some use to others too. Connect to a host or vCenter and give it a go.
I don’t know many people that enjoy writing documentation but it is a nessesary evil and can give you the opportunity to be creative with how you produce it. Often I will need to document a point in time install for ESXi hosts so have put together the below PowerCLI function to obtain some hardware and build information back. Running Get-HostDetails after connecting to a host or vCenter There are loads of good examples available but this works well for me. Output as below