microsoft / CSS-Exchange

Exchange Server support tools and scripts
MIT License
1.22k stars 339 forks source link

PF Primary Hierarchy should be IsExcludedFromServingHierarchy true - Health Checker #1892

Open trudolf-msft opened 11 months ago

trudolf-msft commented 11 months ago

((Get-OrganizationConfig).RootPublicFolderMailbox | Get-Mailbox -PublicFolder).IsExcludedFromServingHierarchy

Recommendation: IsExcludedFromServingHierarchy $true

See https://techcommunity.microsoft.com/t5/exchange-team-blog/modern-public-folder-deployment-best-practices/ba-p/606172

dpaulson45 commented 8 months ago

Going to add to HC, for Public Folders only so much we can provide without just digging into Public Folders all together which would be best utilized in a different script. For now, this cmdlet is simple and quick to run, so we should be able to add this with no problem. Any other simple cmdlets might be able to add down the road, but a full view of the environment (looking to see the number of hierarchy mailboxes is enough for their environment to not go over the 2K limit per mailbox etc...) needs to be added to a new script.