PowerShell Logo Small

New-ADReplicationSubnet



This is the built-in help made by Microsoft for the command 'New-ADReplicationSubnet', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Creates a new Active Directory replication subnet object.

SYNTAX


New-ADReplicationSubnet [-Name] <String> [[-Site] <ADReplicationSite>] [-AuthType {Negotiate | Basic}] [-Credential <PSCredential>] [-Description <String>] [-Instance
<ADReplicationSubnet>] [-Location <String>] [-OtherAttributes <Hashtable>] [-PassThru] [-Server <String>] [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The New-ADReplicationSubnet cmdlet creates a new Active Directory subnet object. Subnet objects (class subnet) define network subnets in Active Directory. A network subnet
is a segment of a TCP/IP network to which a set of logical IP addresses is assigned. Subnets group computers in a way that identifies their physical proximity on the
network. Subnet objects in Active Directory are used to map computers to sites.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=291073
Get-ADReplicationSubnet
Remove-ADReplicationSubnet
Set-ADReplicationSubnet

REMARKS

<

Examples


-------------------------- EXAMPLE 1 --------------------------

PS C:\>New-ADReplicationSubnet -Name "10.0.0.0/25"



This command creates a new subnet named 10.0.0.0/25.




-------------------------- EXAMPLE 2 --------------------------

PS C:\>New-ADReplicationSubnet -Name "10.10.0.0/22" -Site Asia -Location "Tokyo,Japan"



This command creates a new subnet named 10.10.0.0/22 with Asia as its associated site, and set the Location property to Tokyo,Japan.