May 2019
Intermediate to advanced
620 pages
21h 41m
English
Alternatively, Active Directory sites can be managed using the Active Directory module for Windows PowerShell.
Use the following lines of PowerShell to rename an Active Directory site:
Import-Module ActiveDirectory Rename-ADObject -Identity "CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=Lucernpub,DC=com" -NewName "ADSite2"
Use the following lines of PowerShell to change the description of an Active Directory site:
Import-Module ActiveDirectory Set-ADReplicationSite -Identity "CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=Lucernpub,DC=com" -Description "New description here"
Use the following lines of PowerShell to change the location of an Active Directory site:
Import-Module ActiveDirectory ...
Read now
Unlock full access