Get-OSCustomizationNicMapping
This cmdlet retrieves the configured NIC setting mappings for the specified OS customization specification.
Syntax
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required
|
OSCustomizationSpec | OSCustomizationSpec[] | named |
|
Specifies the OS customization specification for which you want to retrieve the NIC settings mapping. |
optional | ProgressAction | ActionPreference | named |
|
|
optional | Server | VIServer[] | named |
|
Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer. |
Output
VMware.VimAutomation.ViCore.Types.V1.OSCustomization.OSCustomizationNicMappingExamples
Example 1
$spec1 = Get-OSCustomizationSpec "test" $spec2 = Get-OSCustomizationSpec "test_old" Get-OSCustomizationNicMapping -OSCustomizationSpec $spec1,$spec2
Retrieves the NIC mappings of the "test" and "test_old" OS customization specifications.
Related Commands
OSCustomizationNicMapping
This cmdlet retrieves the configured NIC setting mappings for the specified OS customization specification.
This cmdlet adds NIC settings mappings to the specified OS customization specifications.
This cmdlet removes the specified OS customization NIC mappings.
This cmdlet modifies the provided OS customization NIC mappings.
OSCustomizationSpec
This cmdlet retrieves the OS customization specifications available on a vCenter Server system.
This cmdlet creates a new OS customization specification.
This cmdlet removes the specified OS customization specifications.
This cmdlet modifies the specified OS customization specification.