Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New script to retrieve folder statistics for mailboxes with large numbers of folders #2206

Merged

Conversation

cboonham
Copy link
Contributor

New script to retrieve folder statistics for mailboxes with large numbers of folders, working around potential timeouts.

Issue:
Customers experience timeouts when running Get-MailboxFolderStatistics against large mailboxes and raise support tickets.

Reason:
Introducing a new store script to use the -ResultSize and -SkipCount parameters to retrieve the folder statistics in batches.

Fix:
New script.

Validation:
Tested successfully on a number of customer escalations.

…mbers of folders, working around potential timeouts.
@cboonham cboonham requested a review from a team as a code owner October 16, 2024 16:30
Shanefe
Shanefe previously approved these changes Oct 16, 2024
Copy link
Contributor

@Shanefe Shanefe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

Copy link
Member

@dpaulson45 dpaulson45 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You also need to update the mkdocs.yml file to include your new script doc file.

Store/Get-LargeMailboxFolderStatistics.ps1 Outdated Show resolved Hide resolved
Store/Get-LargeMailboxFolderStatistics.ps1 Outdated Show resolved Hide resolved
Store/Get-LargeMailboxFolderStatistics.ps1 Outdated Show resolved Hide resolved
Store/Get-LargeMailboxFolderStatistics.ps1 Outdated Show resolved Hide resolved
Store/Get-LargeMailboxFolderStatistics.ps1 Outdated Show resolved Hide resolved
@dpaulson45 dpaulson45 added New Tool Request Requesting of a new tool to be created In progress We are currently working on this labels Oct 16, 2024
@dpaulson45
Copy link
Member

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@dpaulson45
Copy link
Member

@cboonham please address the following:

image

You can run this script manually as well on your end to know that everything is good prior to doing the commit.

@cboonham
Copy link
Contributor Author

@dpaulson45 Thanks for the review, CodeFormatter issues should be fixed now.

@dpaulson45
Copy link
Member

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@dpaulson45 dpaulson45 self-requested a review October 18, 2024 17:30
@dpaulson45
Copy link
Member

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@dpaulson45 dpaulson45 merged commit 7edbdb8 into microsoft:main Oct 18, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
In progress We are currently working on this New Tool Request Requesting of a new tool to be created
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants