< Back
Remove-ADDomainControllerPasswordReplicationPolicy
Post
NAME Remove-ADDomainControllerPasswordReplicationPolicy
SYNOPSIS
Removes users, computers and groups from the allowed or denied list of a read-only domain controller password
replication policy.
SYNTAX
Remove-ADDomainControllerPasswordReplicationPolicy [-Confirm] [-WhatIf] [<CommonParameters>]
DESCRIPTION
The Remove-ADDomainControllerPasswordReplicationPolicy cmdlet removes one or more users, computers and groups from
the allowed or denied list of a read-only domain controller (RODC) password replication policy.
The Identity parameter specifies the RODC that uses the allowed and denied lists to apply the password replication
policy. You can identify a domain controller by its GUID, IPV4Address, global IPV6Address, or DNS host name. You
can also identify a domain controller by the name of the server object that represents the domain controller, the
Distinguished Name (DN) of the NTDS settings object or the server object, the GUID of the NTDS settings object or
the server object under the configuration partition, or the DN of the computer object that represents the domain
controller. You can also set the Identity parameter to a domain controller object variable, such as
$<localDomainControllerobject>, or pass a domain controller object through the pipeline to the Identity parameter.
For example, you can use the Get-ADDomainController cmdlet to retrieve a domain controller object and then pass
the object through the pipeline to the Remove-ADDomainControllerPasswordReplicationPolicy cmdlet. You must provide
a read-only domain controller.
The AllowedList parameters specify the users, computers and groups to remove from the allowed list. Similarly, the
DeniedList parameter specifies the users, computers and groups to remove from the denied list. You must specify
either one or both of the AllowedList and DeniedList parameters. You can identify a user, computer or group by
distinguished name (DN), GUID, security identifier (SID) or security accounts manager (SAM) account name. You can
also specify user, computer or group variables, such as $<localUserObject>. If you are specifying more than one
item, use a comma-separated list.
PARAMETERS
-Confirm [<SwitchParameter>]
Prompts you for confirmation before running the cmdlet.
Required? false
Position? named
Default value false
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? false
Position? named
Default value false
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None or Microsoft.ActiveDirectory.Management.ADDomainController
A read-only domain controller (RODC) object is received by the Identity parameter.
OUTPUTS
None or Microsoft.ActiveDirectory.Management.ADDomainController
Returns the modified read-only domain controller object when the PassThru parameter is specified. By default,
this cmdlet does not generate any output.
NOTES
This cmdlet does not work with AD LDS.
This cmdlet does not work with an Active Directory Snapshot.
This cmdlet does not work with a read-only domain controller.
By default, this cmdlet has the -Confirm parameter set, which prompts you to confirm before a removal of the
specified object type can occur. To bypass prompting for confirmation before removal, you can specify
-Confirm:$false when using this cmdlet.
-------------------------- EXAMPLE 1 --------------------------
C:\\PS>Remove-ADDomainControllerPasswordReplicationPolicy -Identity "FABRIKAM-RODC1" -AllowedList "JesperAaberg",
"AdrianaAdams"
Description
-----------
Remove the users with samAccountNames 'JesperAaberg' and'AdrianaAdams' from the Allowed list on the RODC
'FABRIKAM-RODC1'.
-------------------------- EXAMPLE 2 --------------------------
C:\\PS>Remove-ADDomainControllerPasswordReplicationPolicy -Identity "FABRIKAM-RODC1" -DeniedList "MichaelAllen",
"ElizabethAndersen"
Description
-----------
Remove the users with samAccountNames 'MichaelAllen' and 'ElizabethAndersen' from the Denied list on the RODC
'FABRIKAM-RODC1'.
RELATED LINKS
Online Version: http://go.microsoft.com/fwlink/p/?linkid=291085
Add-ADDomainControllerPasswordReplicationPolicy
Get-ADDomainController
Get-ADDomainControllerPasswordReplicationPolicy
SYNOPSIS
Removes users, computers and groups from the allowed or denied list of a read-only domain controller password
replication policy.
SYNTAX
Remove-ADDomainControllerPasswordReplicationPolicy [-Confirm] [-WhatIf] [<CommonParameters>]
DESCRIPTION
The Remove-ADDomainControllerPasswordReplicationPolicy cmdlet removes one or more users, computers and groups from
the allowed or denied list of a read-only domain controller (RODC) password replication policy.
The Identity parameter specifies the RODC that uses the allowed and denied lists to apply the password replication
policy. You can identify a domain controller by its GUID, IPV4Address, global IPV6Address, or DNS host name. You
can also identify a domain controller by the name of the server object that represents the domain controller, the
Distinguished Name (DN) of the NTDS settings object or the server object, the GUID of the NTDS settings object or
the server object under the configuration partition, or the DN of the computer object that represents the domain
controller. You can also set the Identity parameter to a domain controller object variable, such as
$<localDomainControllerobject>, or pass a domain controller object through the pipeline to the Identity parameter.
For example, you can use the Get-ADDomainController cmdlet to retrieve a domain controller object and then pass
the object through the pipeline to the Remove-ADDomainControllerPasswordReplicationPolicy cmdlet. You must provide
a read-only domain controller.
The AllowedList parameters specify the users, computers and groups to remove from the allowed list. Similarly, the
DeniedList parameter specifies the users, computers and groups to remove from the denied list. You must specify
either one or both of the AllowedList and DeniedList parameters. You can identify a user, computer or group by
distinguished name (DN), GUID, security identifier (SID) or security accounts manager (SAM) account name. You can
also specify user, computer or group variables, such as $<localUserObject>. If you are specifying more than one
item, use a comma-separated list.
PARAMETERS
-Confirm [<SwitchParameter>]
Prompts you for confirmation before running the cmdlet.
Required? false
Position? named
Default value false
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? false
Position? named
Default value false
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None or Microsoft.ActiveDirectory.Management.ADDomainController
A read-only domain controller (RODC) object is received by the Identity parameter.
OUTPUTS
None or Microsoft.ActiveDirectory.Management.ADDomainController
Returns the modified read-only domain controller object when the PassThru parameter is specified. By default,
this cmdlet does not generate any output.
NOTES
This cmdlet does not work with AD LDS.
This cmdlet does not work with an Active Directory Snapshot.
This cmdlet does not work with a read-only domain controller.
By default, this cmdlet has the -Confirm parameter set, which prompts you to confirm before a removal of the
specified object type can occur. To bypass prompting for confirmation before removal, you can specify
-Confirm:$false when using this cmdlet.
-------------------------- EXAMPLE 1 --------------------------
C:\\PS>Remove-ADDomainControllerPasswordReplicationPolicy -Identity "FABRIKAM-RODC1" -AllowedList "JesperAaberg",
"AdrianaAdams"
Description
-----------
Remove the users with samAccountNames 'JesperAaberg' and'AdrianaAdams' from the Allowed list on the RODC
'FABRIKAM-RODC1'.
-------------------------- EXAMPLE 2 --------------------------
C:\\PS>Remove-ADDomainControllerPasswordReplicationPolicy -Identity "FABRIKAM-RODC1" -DeniedList "MichaelAllen",
"ElizabethAndersen"
Description
-----------
Remove the users with samAccountNames 'MichaelAllen' and 'ElizabethAndersen' from the Denied list on the RODC
'FABRIKAM-RODC1'.
RELATED LINKS
Online Version: http://go.microsoft.com/fwlink/p/?linkid=291085
Add-ADDomainControllerPasswordReplicationPolicy
Get-ADDomainController
Get-ADDomainControllerPasswordReplicationPolicy