Get-WssPasswordPolicy

Gets the current password policy for a server.

Syntax

Get-WssPasswordPolicy []

Description

The Get-WssPasswordPolicy cmdlet gets the current password policy for a server.

Examples

Example 1: Get the password policy for a server

PS C:\> Get-WssPasswordPolicy

This command gets the password policy from the server.

Outputs

Microsoft.WindowsServerSolutions.Identity.PasswordPolicy

This cmdlet generates the password policy object for the server.