CmdID / PowerShell / Cmdlets / Disable
Disable-MailPublicFolder
Use the Disable-MailPublicFolder cmdlet to mail-disable a public folder. Exchange PowerShell reference
From the Exchange PowerShell reference 5 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the GUID or public folder name that represents a specific public folder.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-DomainControllerThe DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory.-ServerThe Server parameter specifies the Exchange server where you want to run this command.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.