PowerShell Logo Small

Set-ADCentralAccessPolicy



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

Modifies a central access policy in Active Directory.

SYNTAX


Set-ADCentralAccessPolicy [-Identity] <ADCentralAccessPolicy> [-Add <Hashtable>] [-AuthType {Negotiate | Basic}] [-Clear <String[]>] [-Credential <PSCredential>]
[-Description <String>] [-PassThru] [-ProtectedFromAccidentalDeletion <Boolean>] [-Remove <Hashtable>] [-Replace <Hashtable>] [-Server <String>] [-Confirm] [-WhatIf]
[<CommonParameters>]
Set-ADCentralAccessPolicy [-AuthType {Negotiate | Basic}] [-Credential <PSCredential>] [-PassThru] [-Server <String>] -Instance <ADCentralAccessPolicy> [-Confirm] [-WhatIf]
[<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Set-ADCentralAccessPolicy cmdlet can be used to modify a central access policy in Active Directory.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=291109
Get-ADCentralAccessPolicy
New-ADCentralAccessPolicy
Remove-ADCentralAccessPolicy

REMARKS

<

Examples


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

PS C:\>Set-ADCentralAccessPolicy "Finance Policy" -Description "For the Finance Department."



This command updates the central access policy named Finance Policy to include the description For the Finance Department.




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

PS C:\>Get-ADCentralAccessPolicy "Finance Policy" | Set-ADCentralAccessPolicy -Description "For the Finance Department."



This command gets the central access policy named Finance Policy, and then sets its description to For the Finance Department.