Hi guys,
I have over 65 different Cluster and I would like to prepare the first HOST with PowerCLI and create the Host Profile from it without Editing from the GUI in the vCenter because it takes so long.
I did a fine tuning of the first Host (after a rebuilt with 6.5) by editing Host Profiles and then I export with PowerCLI like this;
Get-AdvancedSetting -Entity $HOST65 | Export-Csv -Path T:\_Evergreening_\Script\$HOST65-config.csv -NoTypeInformation
I got a file like this (header);
| Uid | Value | Description | Type | Entity | Id | Name | Client |
In the result, I can see some missing info that has been modified in the "Edit Host Profiles" so I have to scan somewhere else.
My gol is to prepare a CSV file with all the information and use it to create the first Host Profiles with PowerCLI like this ...
Get-AdvancedSetting -Entity $HOST65 -Name 'Name from CSV file' | Set-AdvancedSetting -Value 'Value from CSV file'
Is it possible?