Skip to content

Latest commit

 

History

History
22 lines (12 loc) · 754 Bytes

README.md

File metadata and controls

22 lines (12 loc) · 754 Bytes

Get-LockoutStatus

This module allows you to get a complete view of an Active Directory account's current status.

Inspired by the Microsoft LockoutStatus.exe tool.

Example

PS C:\> Get-LockoutStatus bob


User      : bob (Bob Masters)
LastLogon : 27.9.2015 16:12:59
Expired   : True (31.10.2015)
Disabled  : False


DomainController     Locked BadPwdCount LastLock               LastBadPwd             PwdExpired
----------------     ------ ----------- --------               ----------             ----------
mydc                 False  0           1.1.2016 16:15:00      1.1.2016 16:14:50      False (set 1.1.2016 13:14:37)