Get-WssPasswordPolicy

Get-WssPasswordPolicy

Get the current password policy for a server.

Syntax

Get-WssPasswordPolicy [ <CommonParameters>]

Detailed Description

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

Parameters

<CommonParameters>

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

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1: Get the password policy for a server

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

PS C:\> $ContosoWestPWPolicy03 = Get-WssPasswordPolicy