Systems Administrator

Case File: The Leaver Sweep

The first Monday of the month: HR sends the list of leavers and the auditor asks for the accounts that nobody uses. At a simulated PowerShell prompt on an Active Directory, find the accounts inactive for more than 104 days with Search-ADAccount, disable the leavers and move them to the Disabled OU with Move-ADObject, and leave the service accounts alone. The directory is generated for you alone.

50 min

Case File: The Leaver Sweep

The first Monday of the month: HR sends the list of leavers and the auditor asks for the accounts that nobody uses. At a simulated PowerShell prompt on an Active Directory, find the accounts inactive for more than 104 days with Search-ADAccount, disable the leavers and move them to the Disabled OU with Move-ADObject, and leave the service accounts alone. The directory is generated for you alone.

In this lesson:

  • powershell
  • active directory
  • leavers
  • accounts
  • console
  • case-file

๐Ÿ”’ This lesson is part of a paid plan

This lesson is part of the Pro plan. Upgrade to unlock the full lesson, the labs and the exam.

Upgrade Now

This lesson is part of a paid plan

Upgrade to Pro to unlock this course, its labs and its exam.

View Pricing Plans