Syntax
Get-OSCustomizationNicMapping [-OSCustomizationSpec] <OSCustomizationSpec[]> [-Server <VIServer[]>] [<CommonParameters>]Related Commands
Online versionDetailed Description
This cmdlet retrieves the configured NIC setting mappings for the specified OS customization specification.Parameters
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
OSCustomizationSpec | OSCustomizationSpec[] | Specifies the OS customization specification for which you want to retrieve the NIC settings mapping. | true | true (ByValue) | |
Server | VIServer[] | Specifies the vCenter Server systems on which you want to run the cmdlet. If no 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. | false | false |
Return Type
Zero or more OSCustomizationNicMapping objectsNotes
Examples
-------------- 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.