Forum Discussion
SpeedHeed
Jul 08, 2022Copper Contributor
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...
- 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.
AndySvints
Jan 09, 2023Steel Contributor
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.
Siddique_Sheikh
Apr 13, 2024Copper Contributor
How to increase the value for theResultSize parameter.AndySvints
how to fix