filmov
tv
Find locked out user accounts in Active Directory using PowerShell
Показать описание
This video will teach you how to find and troubleshoot locked user accounts in Active Directory using PowerShell. We will cover the Search-AdAccount cmdlet, how to find the domain controller with the PDC emulator role, and how to retrieve the username and computer name associated with the bad authentication request using the Get-WinEvent cmdlet. We will also cover how to unlock accounts using the Unlock-ADAccount cmdlet.
To search all locked-out accounts in AD----
Search-AdAccount -LockedOut
To find the PDC emulator role holder-----
Get-ADDomain
Searching for Locked Account in the Event Log-----
Get-WinEvent -FilterHashTable @{'LogName' ='Security';'Id' = 4740}
Searching for Locked Account in the Event Log by parsing the username and computername-----
$filter = @{'LogName' = 'Security';'Id' = 4740}
Chapters:
*********
- Introduction (00:00)
- Finding locked user accounts using Search-AdAccount cmdlet (00:31)
- Finding the PDCe Role Holder (01:16)
- Searching for Locked Accounts in the Event Log (01:40)
- Parsing the Username and Location (02:30)
- Troubleshooting the root cause of account lockout (03:30)
- Unlocking locked user accounts using Unlock-ADAccount cmdlet (03:45)
To search all locked-out accounts in AD----
Search-AdAccount -LockedOut
To find the PDC emulator role holder-----
Get-ADDomain
Searching for Locked Account in the Event Log-----
Get-WinEvent -FilterHashTable @{'LogName' ='Security';'Id' = 4740}
Searching for Locked Account in the Event Log by parsing the username and computername-----
$filter = @{'LogName' = 'Security';'Id' = 4740}
Chapters:
*********
- Introduction (00:00)
- Finding locked user accounts using Search-AdAccount cmdlet (00:31)
- Finding the PDCe Role Holder (01:16)
- Searching for Locked Accounts in the Event Log (01:40)
- Parsing the Username and Location (02:30)
- Troubleshooting the root cause of account lockout (03:30)
- Unlocking locked user accounts using Unlock-ADAccount cmdlet (03:45)
Комментарии