Using OS customization specifications
OS customization specifications are XML files that contain guest operating system settings such as the computer name, network settings, and license settings-for virtual machines. You can use OS customization specifications to modify the configuration of the operating system during the deployment of new virtual machines.
Let's get a list of the names of all the OS customization specifications cmdlets:
PowerCLI C:\> Get-Command -Noun OSCustomization* | >> Select-Object -Property Name
The output of the preceding command is as follows:
Name ---- Get-OSCustomizationNicMapping Get-OSCustomizationSpec New-OSCustomizationNicMapping New-OSCustomizationSpec Remove-OSCustomizationNicMapping Remove-OSCustomizationSpec Set-OSCustomizationNicMapping Set-OSCustomizationSpec
To create an OS customization specification or to clone an existing one, you have to use the New-OSCustomizationSpec
cmdlet. This cmdlet has the following syntax. The first parameter set...