PowerShell Logo Small

Remove-ADCentralAccessPolicyMember



This is the built-in help made by Microsoft for the command 'Remove-ADCentralAccessPolicyMember', 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 central access rules from a central access policy in Active Directory.

SYNTAX


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



Search powershellhelp.space

DESCRIPTION


The Remove-ADCentralAccessPolicyMember cmdlet removes central access rules from a central access policy in Active Directory.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=291079
Add-ADCentralAccessPolicyMember

REMARKS

<

Examples


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

PS C:\>Remove-ADCentralAccessPolicyMember -Identity "Finance Policy" -Members "Finance Documents Rule"



This command removes the resource property named Finance Documents Rule from the central access policy named Finance Policy.




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

PS C:\>Remove-ADCentralAccessPolicyMember -Identity "Finance Policy" -Members "Finance Documents Rule","Corporate Documents Rule"



This command removes the central access rules named Finance Documents Rule and Corporate Documents Rule from the central access policy Finance Policy.




-------------------------- EXAMPLE 3 --------------------------

PS C:\>Get-ADCentralAccessPolicy -Filter { Name -like "Corporate*" } | Remove-ADCentralAccessPolicyMember -Members "Finance Documents Rule","Corporate Documents Rule"



This command gets the central access policies that begin with Corporate in its name, and then pipes that result to the Remove-ADCentralAccessPolicyMember, which then removes
the central access rules named Finance Documents Rule and Corporate Documents Rule from the policies.