Directory object not found error with Get-ADUser (and other cmdlets)

Say you want a spreadsheet of all users in the default Users OU. Easy. You open the Active Directory Module for Windows PowerShell and enter this cmdlet: Get-ADUser -Filter * -SearchBase “OU=Users,DC=domain,DC=com” -Properties “Description” | fl Name, SamAccountName, Enabled, Description And you get this error: Get-ADUser : Directory object not found At line:1 char:1 + Get-ADUser -SearchBase “OU=Users,DC=domain,DC=com” -Filter * -Properties  … + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     […]

Read Me 11 Comments