diffrence dsquery and get-adgroup Tagged: ad powershell dsquery This topic contains 4 replies, has 3 voices, and was last updated by Dan Potter 3 months ago. Author Posts December 27, 2016 at 11:02 pm #60879 Chris BakkerParticipant There commands should be the same: dsquery group "CN=ab.test.something.s,OU=Administration,OU=Groups,DC=ab,DC=company,DC=com" get-adgroup "CN=ab.test.something.s,OU=Administration,OU=Groups,DC=ab,DC=company,DC=com" But for some reason, the get-adgroup cant find all of the groups, that i can find with dsquery. Any one know why? December 27, 2016 at 11:04 pm #60882 Don JonesKeymaster Is it a matter of not being the same quantity? Get-ADGroup does throttle the results into pages. December 28, 2016 at 4:30 pm #60916 Dan PotterParticipant be more specific..that is only going to return a single group. Are you saying get-adgroup can't find that specific group? December 28, 2016 at 5:54 pm #60921 Chris BakkerParticipant Yes, when i search 1 group, dsquery wil find the group. Get-adgroep returns nothing. December 28, 2016 at 6:25 pm #60922 Dan PotterParticipant I can't reproduce this behavior in my forest. Author Posts You must be logged in to reply to this topic.