PowerShell Logo Small

Remove-ADCentralAccessRule



This is the built-in help made by Microsoft for the command 'Remove-ADCentralAccessRule', 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

Removes a central access rule from Active Directory.

SYNTAX


Remove-ADCentralAccessRule [-Identity] <ADCentralAccessRule> [-AuthType {Negotiate | Basic}] [-Credential <PSCredential>] [-Server <String>] [-Confirm] [-WhatIf]
[<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Remove-ADCentralAccessRule cmdlet can be used to remove a central access rule from Active Directory.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=291080
Get-ADCentralAccessRule
New-ADCentralAccessRule
Set-ADCentralAccessRule

REMARKS

<

Examples


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

PS C:\>Remove-ADCentralAccessRule -Identity "Finance Documents Rule"



This command removes the specified central access rule, Finance Documents Rule.




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

PS C:\>Get-ADCentralAccessRule -Filter { ResourceCondition -like "*Department*" } | Remove-ADCentralAccessRule



This command removes the central access rules with Department in their resource conditions.