May 2019
Intermediate to advanced
620 pages
21h 41m
English
To create an Active Directory site using the Active Directory module for Windows PowerShell, use the New-ADReplicationSite PowerShell cmdlet. An example of the simplest lines of PowerShell to achieve this goal looks like this:
Import-Module ActiveDirectoryNew-ADReplicationSite -Name "Site2"
You can verify your change by listing the Active Directory sites:
Import-Module ActiveDirectoryGet-ADReplicationSite -Filter * | Select Name
Read now
Unlock full access