INACTIVE USER FOR 90DAYS POWERSELL IN OU code example
Example: INACTIVE USER FOR 90DAYS POWERSELL IN OU
Search-ADAccount -UsersOnly -SearchBase "ou=Sales,ou=West,dc=MyDomain,dc=com" -AccountInactive -TimeSpan 90
Search-ADAccount -UsersOnly -SearchBase "ou=Sales,ou=West,dc=MyDomain,dc=com" -AccountInactive -TimeSpan 90