PowerShellEmpire/PowerTools

PageSize set in individual functions

Meatballs1 opened this issue · 2 comments

Without setting $searcher.PageSize we limit results to 1000 default, so ideally we always want to set a PageSize, and ideally this should all be refactored into the Get-DomainSearcher method? Additionally it may be worthwhile having it as customizable - so different page sizes can be specified :)

You are correct (as usual) :)

Working on the code now, should have it up in a branch shortly.

I think this should do it, look correct? 9a95acc