Question: PowerCLI, host profile and host customization

Hello Reddit,

I can’t seem to find much info about how to edit host customization with PowerCLI when applying a host profile with PowerCLI.

I can remember having to enter host customization settings when applying a host profile to a freshly installed ESXi host via the vCenter GUI. Now how to do that with PowerCLI?

I searched a bit here:


Is it done with the -Variable parameter ?

Invoke-VMHostProfile $vmhost -Profile $profile **-Variable $requireInput;**

>**Variable** Hashtable Specifies a hash table object that provides values for the host profile required variables.

Can someone confirm?

View Reddit by lucien62View Source

Related Articles

One Comment

Leave a Reply

Your email address will not be published. Required fields are marked *