Create and mount public folders database
new-publicfolderdatabase -StorageGroup 'GLASGOW\First Storage Group' -Name 'First Glasgow Database' -EdbFilePath 'C:\Program Files\Microsoft\Exchange Server\Mailbox\First Storage Group\First Glasgow Database.edb'
mount-database -Identity 'CN=First Glasgow Database,CN=First Storage Group,CN=InformationStore,CN=GLASGOW,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=tailspintoys,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=tailspintoys,DC=internal'
Creating new public folders and enable them
[PS] C:\>New-PublicFolder -name management
Name Parent Path
---- -----------
management \
[PS] C:\>New-PublicFolder -name "manage reports" -path \management
Name Parent Path
---- -----------
manage reports \management
[PS] C:\>Enable-MailPublicFolder \management
[PS] C:\>Enable-MailPublicFolder "\management\manage reports"
[PS] C:\>Set-MailPublicFolder \management -EmailAddressPolicyEnabled $false
[PS] C:\>Set-MailPublicFolder "\management\manage reports" -EmailAddressPolicyEnabled $false
[PS] C:\>Set-MailPublicFolder "\management\manage reports" -PrimarySmtpAddress managereport@tailspintoys.internal
[PS] C:\>Set-MailPublicFolder \management -PrimarySmtpAddress management@tailspintoys.internal
[PS] C:\>get-publicfolder
Name Parent Path
---- -----------
IPM_SUBTREE
[PS] C:\>get-publicfolder -recurse
Name Parent Path
---- -----------
IPM_SUBTREE
accounts \
management \
manage reports \management
[PS] C:\>get-publicfolder -recurse format-list name
Name : IPM_SUBTREE
Name : accounts
Name : management
Name : manage reports
[PS] C:\>Disable-MailPublicFolder "\management\manage reports"
Confirm
Are you sure you want to perform this action?
Disabling mail public folder "\management\manage reports".
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help
(default is "Y"):y
[PS] C:\>Remove-PublicFolder "\management\manage reports"
Confirm
Are you sure you want to perform this action?
Removing public folder "\management\manage reports".
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help
(default is "Y"):y
[PS] C:\>
No comments:
Post a Comment