PowerShell Logo Small

Add-ADCentralAccessPolicyMember



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

Adds central access rules to a central access policy in Active Directory.

SYNTAX


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



Search powershellhelp.space

DESCRIPTION


The Add-ADCentralAccessPolicyMember cmdlet adds central access rules to a central access policy in Active Directory.



<

RELATED LINKS

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

REMARKS

<

Examples


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

PS C:\>Add-ADCentralAccessPolicyMember -Identity "Finance Policy" -Member "Finance Documents Rule","Corporate Documents Rule"



This command adds the central access rules Finance Documents Rule and Corporate Documents Rule to the central access policy Finance Policy.




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

PS C:\>Add-ADCentralAccessPolicyMember
cmdlet Add-ADCentralAccessPolicyMember at command pipeline position 1
Supply values for the following parameters:
Identity: Finance Policy
Members[0]: Finance Documents Rule
Members[1]: Corporate Documents Rule
Members[2]:



This command demonstrates default behavior for this cmdlet with no parameters specified. You are prompted for the central access policy to modify and the rules to add to the
policy.




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

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



This command gets all central access policies that have a name that starts with Corporate and then passes this information to Add-ADCentralAccessPolicyMember by using the
pipeline operator. The Add-ADCentralAccessPolicyMember cmdlet then adds the central access rule with the name Corporate Documents Rule to it.