PowerShell

Find all rthe disabled Users

Get-ADUser -Filter 'Enabled -eq $false' -Properties Enabled

Enable a users

Enable-ADAccount -Identity $USERNAME

Get users identity

Get-ADUser -Identity $USERNAME

Last updated