RAI5105_0001: Unblock domain account via powershell
Summary
| ID | RAI5105_0001 |
|---|---|
| Brief Description | Unblock user accounts using the Disable-ADAccount cmdlet |
| Author | @SEC |
| Creation Date | 2023/05/18 |
| Modification Date | 2023/05/18 |
| Requirements |
|
| Tags |
|
| Means of action |
|
| Targets of action |
|
| Linked Response Actions |
Description
You can easily enable user accounts using the Enable-ADAccount cmdlet. Use the -Identity parameter
to specify which account to disable; you can supply its distinguished name, security identifier (SID),
globally unique identifier (GUID) or Security Account Manager (SAM) account name:
Enable-ADAccount -Identity <DOMAIN_USER>