Skip to main content

Get-PPEPasswordTest

The Get-PPEPasswordTest cmdlet runs the Password Policy Enforcer password test for a user.

SYNTAX

Get-PPEPasswordTest -Password <_string_> -Username <_string_> [-OldPassword <_string_>] [<_CommonParameters_>]

PARAMETERS

-Password <_string_>

The password to test.

-User <_string_>

The username to test. Can also use -U or -u.

-OldPassword <_string_>

The old password to test.

<_CommonParameters_>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters https:/go.microsoft.com/fwlink/?LinkID=113216.

EXAMPLE

PS C:> Get-PPEPasswordTest -Password qwerty -User PPETestUser

Assigning default policy "Eval Policy"

Log

  • Info : Reading configuration from NT-DC03.nwxtech.com.

  • Info : DN is "CN=PPE Test User,CN=Users,DC=NWXTECH,DC=COM"

  • Info : Current password is 5 days old.

  • Info : Extended Maximum Age group not found.

  • Info : Dictionary rule found "QWERTY".

  • Info : Password rejected.

Password must:

  • Accepted : contain a lower alpha character

  • Rejected : contain an upper alpha character

  • Accepted : contain at least 1 of these character types:

  • upper alpha

  • lower alpha

  • Rejected : not be similar to a common password

  • Rejected : contain at least 7 characters

  • Accepted : not be similar to your logon name