Skip to content

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

Merged
dpaulson45 merged 5 commits into
microsoft:mainfrom
cboonham:chris-GetLargeMailboxFolderStatistics
Oct 18, 2024
Merged

New script to retrieve folder statistics for mailboxes with large numbers of folders#2206
dpaulson45 merged 5 commits into
microsoft:mainfrom
cboonham:chris-GetLargeMailboxFolderStatistics

Conversation

@cboonham
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

Comment thread Store/Get-LargeMailboxFolderStatistics.ps1 Outdated
Comment thread Store/Get-LargeMailboxFolderStatistics.ps1 Outdated
Comment thread Store/Get-LargeMailboxFolderStatistics.ps1
Comment thread Store/Get-LargeMailboxFolderStatistics.ps1
Comment thread Store/Get-LargeMailboxFolderStatistics.ps1 Outdated
@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
cboonham and others added 2 commits October 17, 2024 11:43
@dpaulson45
Copy link
Copy Markdown
Member

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@dpaulson45
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

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

@dpaulson45
Copy link
Copy Markdown
Member

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

Comment thread M365/Get-LargeMailboxFolderStatistics.ps1 Outdated
Comment thread M365/Get-LargeMailboxFolderStatistics.ps1 Outdated
@dpaulson45 dpaulson45 self-requested a review October 18, 2024 17:30
@dpaulson45
Copy link
Copy Markdown
Member

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@dpaulson45 dpaulson45 merged commit 7edbdb8 into microsoft:main Oct 18, 2024
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