Inhalt
ToggleSome PowerShell stuff for working with Exchange Public Folders. I will add content as needed. This page is my personal cheat sheet. Maybe it can help you, too.
General stuff
# Export public folder statistics
Get-PublicFolderStatistics -ResultSize Unlimited | Select-Object Name, FolderPath, ItemCount, TotalItemSize | Export-csv ".\PFStatistics-$(Get-Date -Format 'yyyMMdd-hhmm').csv" -Encoding utf8 -NoTypeInformation
# Cleanup alias (mailnickname) of mail enabled public folders
# Required for legacy to modern public folder migration (On-Premises/Online)
$publicFolders = Get-PublicFolder -Identity "\" -Recurse -ResultSize Unlimited | Get-MailPublicFolder | Where {$_.Alias -like "* *"}
$publicFolders | ForEach-Object { Set-MailPublicFolder $_.identity -Alias:($_.Alias -Replace " ","") }
Scripts
- Get-NewPublicFolders.ps1
This script exports the folder created during the last X days.
The information helps you to understand how your users (still) utilize public folders and to prepare a migration or even the full decommissioning of public folders.
Links
- Introduction to Public Folder Hierarchy Sync
- Public Folder Source Side Validation
- Public Folder Dynamic Distribution Group
- Rename and Trim Modern Public Folders for Migration to Exchange Online
- Find Modern Public Folder Parent Path
Enjoy Public Folders.
Kurz-URL | Short URL: https://granikos.eu/go/KAi
