PowerShell Logo Small

Remove-ADCentralAccessPolicyMember



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

SYNOPSIS

Removes central access rules from a central access policy in Active Directory.

SYNTAX


Remove-ADCentralAccessPolicyMember [-Identity] <ADCentralAccessPolicy> [-Members] <ADCentralAccessRule[]> [-AuthType <ADAuthType>]
[-Credential <PSCredential>] [-PassThru [<SwitchParameter>]] [-Server <String>] [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]]
[<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/?LinkId=216386

REMARKS

<

Examples


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

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



Description

-----------

Remove the resource property named 'Finance Documents Rule' from the central access policy named 'Finance Policy'.




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

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



Description

-----------

Remove the central access rules named 'Finance Documents Rule' and 'Corporate Documents Rule' from the central access policy 'Finance Policy'.




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

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



Description

-----------

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.