< Back

Get-PasswordLockoutPolicy

Fri Jan 10, 2020 7:28 pm

NAME Get-PasswordLockoutPolicy



SYNOPSIS

Returns server password/lockout policy and lockout for a server





SYNTAX

Get-PasswordLockoutPolicy [-ComputerName] <Object> [-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

Gets the server password/lockout policy for one or several servers.

For times, a timespan object is returned. For non, time related

fields, an integer is returned.





PARAMETERS

-ComputerName <Object>

Name of a computer to get password policy and lockout policy



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<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).



INPUTS



OUTPUTS



NOTES





None



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



PS C:\\>Get-PasswordLockoutPolicy -ComputerName DC01















RELATED LINKS