Report-VMHostConfigStatus
VMware created a method to maintain and keep a VMHost at a certain compliance level using a component called Host Profiles. Host Profiles maintain a record within vCenter to a base configuration using a Reference Host, and PowerCLI can be used to configure this reference host.
Running a simple PowerCLI command allows the creation of a basic profile:
New-VMHostProfile –Name TestProfile –Description "PowerCLI basic Profile" –ReferenceHost VMHost1
It takes a few moments and a TestProfile is created within the vCenter environment. Default settings store domain authentication and the network and storage settings. It leaves the rest of the profile open for changes and alterations. As a consultant at numerous organizations, many companies feel the host profiles are overkill to a basic implementation script of certain configurations. So, with that in mind, let's think of implementing this type of script and name it Report-VMHostConfigStatus...