Hello, I was wondering if there was a way to speed the commands up to query faster? My one-liner looks like:
Get-ADUser -SearchBase "OU=People,DC=Domain,DC=Company,DC=Net" -Filter {Title -eq "Job Title"} -ResultSetSize $null -Properties * | Select SamAccountName, DisplayName, Manager
Are we able to somehow omit property fields that it looks up? Would that help?
I've tried looking through Google and couple of forums, but could not find the answer.
I have used a tool called "ADFind" and was able to get the results in less than 5 minutes, but Powershell seems to take WAYY longer to do this.
Thank you!