PowerShell Logo Small

Remove-ADAuthenticationPolicy



This is the built-in help made by Microsoft for the command 'Remove-ADAuthenticationPolicy', 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 an Active Directory Domain Services authentication policy object.

SYNTAX


Remove-ADAuthenticationPolicy [-Identity] <ADAuthenticationPolicy> [-AuthType {Negotiate | Basic}] [-Credential <PSCredential>] [-Server <String>] [-Confirm] [-WhatIf]
[<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Remove-ADAuthenticationPolicy cmdlet removes an Active Directory® Domain Services authentication policy.


The Identity parameter specifies the Active Directory Domain Services authentication policy to remove. You can identify an authentication policy by its distinguished name
(DN), GUID or name. You can also use the Identity parameter to specify a variable that contains an authentication policy object, or you can use the pipeline operator to pass
an authentication policy object to the Identity parameter.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=296766
Get-ADAuthenticationPolicy
New-ADAuthenticationPolicy
Set-ADAuthenticationPolicy

REMARKS

<

Examples


Example 1: Remove an authentication policy by specifying a name

PS C:\> Remove-ADAuthenticationPolicy -Identity AuthenticationPolicy01



This command removes the authentication policy specified by the Identity parameter.




Example 2: Remove multiple authentication policies

PS C:\> Get-ADAuthenticationPolicy -Filter 'Enforce -eq $false' | Remove-ADAuthenticationPolicy



This command uses the Get-ADAuthenticationPolicy cmdlet with the Filter parameter to get all authentication policies that are not enforced. The pipeline operator then passes
the result of the filter to the Remove-ADAuthenticationPolicy cmdlet.