PowerShell Logo Small

Remove-ADFineGrainedPasswordPolicy



This is the built-in help made by Microsoft for the command 'Remove-ADFineGrainedPasswordPolicy', 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 fine-grained password policy.

SYNTAX


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



Search powershellhelp.space

DESCRIPTION


The Remove-ADFineGrainedPasswordPolicy cmdlet removes an Active Directory fine-grained password policy.


The Identity parameter specifies the Active Directory fine-grained password policy to remove. You can identify a fine-grained password policy by its distinguished name, or
GUID. You can also set the Identity parameter to a fine-grained password object variable, such as $<localFineGrainedPasswordPolicyObject>, or you can pass a fine-grained
password policy object through the pipeline to the Identity parameter. For example, you can use the Get-ADFineGrainedPasswordPolicy cmdlet to retrieve a fine-grained
password policy object and then pass the object through the pipeline operator to the Remove-ADFineGrainedPasswordPolicy cmdlet.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=291086
Add-ADFineGrainedPasswordPolicySubject
Get-ADFineGrainedPasswordPolicy
Get-ADFineGrainedPasswordPolicySubject
New-ADFineGrainedPasswordPolicy
Remove-ADFineGrainedPasswordPolicySubject
Set-ADFineGrainedPasswordPolicy

REMARKS

<

Examples


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

PS C:\>Remove-ADFineGrainedPasswordPolicy -Identity MyPolicy



This command remove the Fine Grained Password Policy object named MyPolicy.




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

PS C:\>Remove-ADFineGrainedPasswordPolicy -Identity 'CN=MyPolicy,CN=Password Settings Container,CN=System,DC=FABRIKAM,DC=COM'



This command removes the Fine Grained Password Policy object with DistinguishedName CN=MyPolicy,CN=Password Settings Container,CN=System,DC=FABRIKAM,DC=COM.




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

PS C:\>Get-ADFineGrainedPasswordPolicy -Filter {Name -like "*user*"} | Remove-ADFineGrainedPasswordPolicy



This command removes all File Grained Password Policy objects that contain user in their names.