PowerShell Logo Small

Remove-ADFineGrainedPasswordPolicy



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

Removes an Active Directory fine grained password policy.

SYNTAX


Remove-ADFineGrainedPasswordPolicy [-Identity] <ADFineGrainedPasswordPolicy> [-AuthType <ADAuthType>] [-Credential <PSCredential>] [-Server
<String>] [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<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 to the Remove-ADFineGrainedPasswordPolicy cmdlet.



<

RELATED LINKS

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

REMARKS

<

Examples


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

C:\PS>Remove-ADFineGrainedPasswordPolicy MyPolicy



Description

-----------

Remove the Fine Grained Password Policy object named 'MyPolicy'.




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

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



Description

-----------

Remove the Fine Grained Password Policy object with DistinguishedName 'CN=MyPolicy,CN=Password Settings
Container,CN=System,DC=FABRIKAM,DC=COM'.




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

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



Description

-----------

Remove all File Grained Password Policy objects that contain user in their names.