Forum Discussion

SpeedHeed's avatar
SpeedHeed
Copper Contributor
Jul 08, 2022
Solved

Powershell ResultSize not working

Hello, I wrote a small script but for some reason “ResultSize” doesn’t work. “WARNING: There are more results available than currently displayed. If you want to display all results, increase th...
  • AndySvints's avatar
    Jan 09, 2023

    Hello SpeedHeed,

    As you already mentioned, you are using -ResultSize unlimited to get all possible results. The warning that you are seeing is there by default, FYI type of thing.

    However, there are couple of more things to take into the consideration:

    • The results from this cmdlet are updated every 24 hours. So your results might not be reflected right away.
    • You might also want to include IncludeSoftDeletedObjects switch to include any soft-deleted group members in the results.

    Reference: Get-DynamicDistributionGroupMember

    Hope that helps.

Resources