PowerShellEmpire / PowerTools

PowerTools is a collection of PowerShell projects with a focus on offensive operations.
Other
2.03k stars 817 forks source link

PageSize set in individual functions #59

Closed Meatballs1 closed 8 years ago

Meatballs1 commented 8 years ago

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 :)

HarmJ0y commented 8 years ago

You are correct (as usual) :)

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

HarmJ0y commented 8 years ago

I think this should do it, look correct? https://github.com/PowerShellEmpire/PowerTools/commit/9a95acc43aea0a35f6976b68720b1c111e2d2784