vSphere PowerCLI Reference

Get-OSCustomizationNicMapping

Synopsis

Retrieves the configured Nic setting mappings for the specified OS customization specification.

Syntax

Get-OSCustomizationNicMapping [-OSCustomizationSpec] <OSCustomizationSpec[]> [-Server <VIServer[]>] [<CommonParameters>]

Related Commands

Online version
New-OSCustomizationNicMapping
Set-OSCustomizationNicMapping

Detailed Description

Retrieves the configured Nic setting mappings for the specified OS customization specification.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
OSCustomizationSpecOSCustomizationSpec[]Specify the OS customization specification for which you want to retrieve the Nic settings mapping.truetrue (ByValue)
ServerVIServer[]Specify the vSphere servers on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer.falsefalse

Return Type

OSCustomizationNicMapping

Notes

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.


Copyright © 1998 - 2011 VMware, Inc. All rights reserved.