PS C:\Windows\system32> get-help new-netipaddress
Do you want to run Update-Help?
The Update-Help cmdlet downloads the most current Help files for Windows PowerShell modules, and installs them on your
computer. For more information about the Update-Help cmdlet, see
http://go.microsoft.com/fwlink/?LinkId=210614.
[Y] Yes [N] No Suspend [?] Help (default is "Y"): y
NAME
New-NetIPAddress
SYNOPSIS
Creates and configures an IP address.
SYNTAX
New-NetIPAddress [-IPAddress] <String> [-AddressFamily <AddressFamily>] [-AsJob] [-CimSession <CimSession[]>]
[-DefaultGateway <String>] [-PolicyStore <String>] [-PreferredLifetime <TimeSpan>] [-PrefixLength <Byte>]
[-SkipAsSource <Boolean>] [-ThrottleLimit <Int32>] [-Type <Type>] [-ValidLifetime <TimeSpan>] -InterfaceAlias
<String> [-Confirm] [-WhatIf] [<CommonParameters>]
New-NetIPAddress [-IPAddress] <String> [-AddressFamily <AddressFamily>] [-AsJob] [-CimSession <CimSession[]>]
[-DefaultGateway <String>] [-PolicyStore <String>] [-PreferredLifetime <TimeSpan>] [-PrefixLength <Byte>]
[-SkipAsSource <Boolean>] [-ThrottleLimit <Int32>] [-Type <Type>] [-ValidLifetime <TimeSpan>] -InterfaceIndex
<UInt32> [-Confirm] [-WhatIf] [<CommonParameters>]
DESCRIPTION
The New-NetIPAddress cmdlet creates and configures an IP address. To create a specific IP address object, specify
either an IPv4 address or an IPv6 address, and an interface index or interface alias. We recommend that you define
the prefix length, also known as a subnet mask, and a default gateway.
If you run this cmdlet to add an IP address to an interface on which DHCP is already enabled, then DHCP is
automatically disabled.
RELATED LINKS
Online Version:
http://go.microsoft.com/fwlink/?LinkId=288394 Get-NetIPAddress
Remove-NetIPAddress
Remove-NetRoute
Set-NetIPAddress
REMARKS
To see the examples, type: "get-help New-NetIPAddress -examples".
For more information, type: "get-help New-NetIPAddress -detailed".
For technical information, type: "get-help New-NetIPAddress -full".
For online help, type: "get-help New-NetIPAddress -online"