PowerShell Logo Small

Add-ADCentralAccessPolicyMember



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

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

SYNTAX


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

REMARKS

<

Examples


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

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



Description

-----------

Adds the central access rules 'Finance Documents Rule' and 'Corporate Documents Rule' to the central access policy 'Finance Policy'.




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

C:\PS>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]:



Description

-----------

Demonstrates default behavior for this cmdlet (no parameters specified). Adds central access rules 'Finance Documents Rule' and 'Corporate
Documents Rule' to the central access policy 'Finance Policy'.




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

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



Description

-----------

Gets all central access policies that have a name that starts with "Corporate" and then pipes it to Add-ADCentralAccessPolicyMember, which
then adds the central access rule with the name 'Corporate Documents Rule' to it.