Active Directory

Disable-ADAccount

CautionDisable accounts

Disable-ADAccount -Identity <user>

Disables rather than deletes — the safe offboarding step, alongside group cleanup.

Examples

  • Disable-ADAccount -Identity taro.yamadaDisable a leaver

Syntax

Disable-ADAccount -Identity <sam> / Enable-ADAccount

Before you run it

Verify identity and approval first.

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store