< Back
Get-MrADLockOutInfo
Post
NAME Get-MrADLockOutInfo
SYNOPSIS
Get-MrADLockOutInfo returns a list of users who were locked out in Active Directory.
SYNTAX
Get-MrADLockOutInfo [[-DomainName] <String>] [[-UserName] <String>] [[-StartTime] <DateTime>] [[-Credential]
<Object>] [<CommonParameters>]
DESCRIPTION
Get-MrADLockOutInfo is an advanced function that returns a list of users who were locked out in Active Directory
by querying the event logs on the PDC emulator in the domain.
PARAMETERS
-DomainName <String>
Required? false
Position? 1
Default value $env:USERDOMAIN
Accept pipeline input? false
Accept wildcard characters? false
-UserName <String>
The userid of the specific user you are looking for lockouts for. The default is all locked out users.
Required? false
Position? 2
Default value *
Accept pipeline input? false
Accept wildcard characters? false
-StartTime <DateTime>
The datetime to start searching the event logs from. The default is the past three days.
Required? false
Position? 3
Default value (Get-Date).AddDays(-3)
Accept pipeline input? false
Accept wildcard characters? false
-Credential <Object>
Specifies a user account that has permission to read the security event log on the PDC emulator. The default is
the current user.
Required? false
Position? 4
Default value [System.Management.Automation.PSCredential]::Empty
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
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-MrADLockOutInfo
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-MrADLockOutInfo -Credential (Get-Credential)
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Get-MrADLockOutInfo -UserName 'mikefrobbins'
-------------------------- EXAMPLE 4 --------------------------
PS C:\\>Get-MrADLockOutInfo -StartTime (Get-Date).AddDays(-1)
-------------------------- EXAMPLE 5 --------------------------
PS C:\\>Get-MrADLockOutInfo -UserName 'mikefrobbins' -StartTime (Get-Date).AddDays(-1) -Credential (Get-Credential)
RELATED LINKS
CommonParameters : True
WorkflowCommonParameters : False
details : @{name=Get-MrADUser; noun=; verb=}
Syntax : @{syntaxItem=System.Object[]}
parameters : @{parameter=System.Object[]}
inputTypes : @{inputType=}
returnValues : @{returnValue=}
aliases : None
remarks : None
alertSet :
description :
examples :
Synopsis :
Get-MrADUser [-UserName] <string[]> [<CommonParameters>]
ModuleName : MrAD
nonTerminatingErrors :
xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10
xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10
xmlns:maml : http://schemas.microsoft.com/maml/2004/10
Name : Get-MrADUser
Category : Function
Component :
Role :
Functionality :
SYNOPSIS
Get-MrADLockOutInfo returns a list of users who were locked out in Active Directory.
SYNTAX
Get-MrADLockOutInfo [[-DomainName] <String>] [[-UserName] <String>] [[-StartTime] <DateTime>] [[-Credential]
<Object>] [<CommonParameters>]
DESCRIPTION
Get-MrADLockOutInfo is an advanced function that returns a list of users who were locked out in Active Directory
by querying the event logs on the PDC emulator in the domain.
PARAMETERS
-DomainName <String>
Required? false
Position? 1
Default value $env:USERDOMAIN
Accept pipeline input? false
Accept wildcard characters? false
-UserName <String>
The userid of the specific user you are looking for lockouts for. The default is all locked out users.
Required? false
Position? 2
Default value *
Accept pipeline input? false
Accept wildcard characters? false
-StartTime <DateTime>
The datetime to start searching the event logs from. The default is the past three days.
Required? false
Position? 3
Default value (Get-Date).AddDays(-3)
Accept pipeline input? false
Accept wildcard characters? false
-Credential <Object>
Specifies a user account that has permission to read the security event log on the PDC emulator. The default is
the current user.
Required? false
Position? 4
Default value [System.Management.Automation.PSCredential]::Empty
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
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-MrADLockOutInfo
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-MrADLockOutInfo -Credential (Get-Credential)
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Get-MrADLockOutInfo -UserName 'mikefrobbins'
-------------------------- EXAMPLE 4 --------------------------
PS C:\\>Get-MrADLockOutInfo -StartTime (Get-Date).AddDays(-1)
-------------------------- EXAMPLE 5 --------------------------
PS C:\\>Get-MrADLockOutInfo -UserName 'mikefrobbins' -StartTime (Get-Date).AddDays(-1) -Credential (Get-Credential)
RELATED LINKS
CommonParameters : True
WorkflowCommonParameters : False
details : @{name=Get-MrADUser; noun=; verb=}
Syntax : @{syntaxItem=System.Object[]}
parameters : @{parameter=System.Object[]}
inputTypes : @{inputType=}
returnValues : @{returnValue=}
aliases : None
remarks : None
alertSet :
description :
examples :
Synopsis :
Get-MrADUser [-UserName] <string[]> [<CommonParameters>]
ModuleName : MrAD
nonTerminatingErrors :
xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10
xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10
xmlns:maml : http://schemas.microsoft.com/maml/2004/10
Name : Get-MrADUser
Category : Function
Component :
Role :
Functionality :