This is the built-in help made by Microsoft for the command 'Remove-ADReplicationSite', in PowerShell version 3 - as retrieved from
Windows version 'Microsoft Windows Server 2012 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.
Deletes the specified replication site object from Active Directory.
Remove-ADReplicationSite [-Identity] <ADReplicationSite> [-AuthType <ADAuthType>] [-Credential <PSCredential>] [-Server <String>] [-Confirm
[<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]
The Remove-ADReplicationSite deletes a specified replication site object from Active Directory. If domain controllers are no longer needed in
a network location, you can remove them from a site and then delete the site object. Before deleting the site, you must remove all domain
controllers from the site either by removing them entirely or by moving them to a new location.
<
Online Version: http://go.microsoft.com/fwlink/?LinkId=216393
Get-ADReplicationSite
New-ADReplicationSite
Set-ADReplicationSite
<
-------------------------- EXAMPLE 1 --------------------------
C:\PS>Remove-ADReplicationSite Europe
Description
-----------
Remove the site with name 'Europe'.
-------------------------- EXAMPLE 2 --------------------------
C:\PS>Get-ADReplicationSite -Filter {Description -eq "For testing only."} | Remove-ADReplicationSite
Description
-----------
Get the sites that are for testing only and remove them.