Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Get-ADGroup returning over 3000 results

$
0
0

Folks, I am working through after taking on AD for my company. We have a huge list of unused groups, which need to be culled before we can look at moving users and groups to another domain.

I created a simple query in PowerShell to dump out the groups with some attributes, however the list is obviously too large to be returned.

The command I have is listed below, is there a way I can get past this limit

Thanks in advance

Get-ADGroup -filter * -properties * -server DC01 |Select Name, Groupscope, GroupCategory, description, whencreated, CanonicalName , mail| Export-csv -notype .\Reports\GroupsDC01.CSV

When I review the list, it stops at 3000 records.


Viewing all articles
Browse latest Browse all 15028

Trending Articles



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