OS Customization Category

Cmdlets are usually implemented around resource operations. The four basic operations are CREATE, READ, UPDATE and DELETE. This set of operations is known as CRUD. Most of the cmdlets support CRUD which are respectively cmdlets that start with the New/Get/Set/Remove cmdlet verbs but they also may have additional operations.

Step 1: Retrieve a object by running a Get command 

You can READ objects by using Get-OSCustomizationNicMapping cmdlet.

Step 2: Run commands from the CRUD group 

You can CREATE objects by using New-OSCustomizationNicMapping cmdlet.

You can UPDATE objects by using Set-OSCustomizationNicMapping cmdlet. See example below:
Get-OSCustomizationSpec Spec | Get-OSCustomizationNicMapping | Set-OSCustomizationNicMapping -IpAddress

You can REMOVE objects by using Remove-OSCustomizationNicMapping cmdlet.

Step 3: Explore More Related Commands: 

Get-OSCustomizationSpec This cmdlet retrieves the OS customization specifications available on a vCenter Server system.
New-OSCustomizationSpec This cmdlet creates a new OS customization specification.
Remove-OSCustomizationSpec This cmdlet removes the specified OS customization specifications.
Set-OSCustomizationSpec This cmdlet modifies the specified OS customization specification.

Was this page helpful?