Get-WssPasswordPolicy

Get 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:\> $ContosoWestPWPolicy03 = Get-WssPasswordPolicy

This command gets the password policy from a server and stores it in the variable named $ContosoWestPWPolicy03.