Find disabled computer objects

Search-ADAccount -AccountDisabled -ComputersOnly

Find disabled users in AD

Search-ADAccount -UsersOnly -AccountDisabled

Find users with account locked out

Search-ADAccount -LockedOut

Find InActive accounts

Search-ADAccount -AccountInactive