Summery
Sometimes you may find that you have rights over disabled AD account or other objects - here’s a short note on how to re-enable them.
Only user and computer objects can be disabled in AD.
Commands
Get-ADUser -Identity "john.doe" -Properties Enabled - Check whether the account is disabled
Enable-ADAccount -Identity "john.doe" - Enable an account
Disable-ADAccount -Identity "john.doe" - Disable an account
-Identity accepts a name, distinguished name, GUID, or SID.
You, of course need sufficient rights to perform such actions on an AD.
References
Similar techniques and concepts: Windows recycle bin, Active Directory recycle bin