Syntax
New-OSCustomizationNicMapping -Spec <OSCustomizationSpec[]> [-Server <VIServer[]>] [-IpMode <OSCustomizationIPMode>] [-VCApplicationArgument <String>] [[-IpAddress] <String>] [[-SubnetMask] <String>] [[-DefaultGateway] <String>] [-AlternateGateway <String>] [[-Dns] <String[]>] [-Wins <String[]>] [-WhatIf] [-Confirm] [<CommonParameters>]Related Commands
Get-OSCustomizationNicMappingDetailed Description
Adds Nic settings mappings to the specified OS customization specifications. If the given specification is server-side, it is updated on the server. If it is client-side, the reference that is kept in-memory is updated but the variable that is passed to the cmdlet is not modified.Parameters
Input Type
Return Type
VMware.VimAutomation.Types.OSCustomizationNicMappingNotes
Examples
-------------- Example 1 -------------- C:\PS>New-OSCustomizationNicMapping -Spec $spec -IpMode UseStaticIP -IPAddress 1 0.0.0.1 -SubnetMask 255.255.255.0 -DefaultGateway 10.0.0.253 -DnsServer 10.0.0.2 53 Creates a new NIC mapping for the OS customization spec stord in $spec.