RAI3601_0002: Powershell disable AD user
Summary
ID | RAI3601_0002 |
---|---|
Brief Description | Disable AD user through the Powershell |
Author | @ERMACK_COMMUNITY |
Creation Date | 2023/05/10 |
Modification Date | 2023/05/10 |
Requirements |
|
Tags |
|
Means of action |
|
Targets of action |
|
Linked Response Actions |
Description
To disable user, we can use Disable-ADAccount command from ActiveDirectory module.
For example, we have a user ermac whose account we want to disable.
To disable the account use the bellow command.