Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Is there a way to speed up Get-QADUser or Get-ADUser?

$
0
0

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!


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>