CmdID / PowerShell / Cmdlets / Set
Set-PublicFolder
Use the Set-PublicFolder cmdlet to set the attributes of public folders. Exchange PowerShell reference
From the Exchange PowerShell reference 26 parameters Its page in the reference
Parameters
Show its 26 parameters
-IdentityThe Identity parameter specifies the name and path of the public folder you want to modify.-AgeLimitThe AgeLimit parameter specifies the overall age limit on the 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.-EformsLocaleIdThe EformsLocaleId parameter specifies the locale-specific version of the e-forms library.-ForceThe Force switch hides warning or confirmation messages.-HiddenFromAddressListsEnabledThe HiddenFromAddressListsEnabled parameter specifies whether to hide the public folder from address lists.-IssueWarningQuotaThe IssueWarningQuota parameter specifies the public folder size that triggers a warning to public folder owners stating that the folder is almost full.-LocalReplicaAgeLimitThe LocalReplicaAgeLimit parameter specifies the age limit of the replica on the connected server, if there is a replica on it.-MailEnabledThe MailEnabled parameter specifies that the public folder is mail-enabled.-MailRecipientGuidThe MailRecipientGuid parameter specifies the MailRecipientGuid value of the public folder.-MaxItemSizeThe MaxItemSize parameter specifies the maximum size for posted items.-NameThe Name parameter specifies the name for the public folder.-OverrideContentMailboxThe OverrideContentMailbox parameter specifies the target public folder mailbox whereyou want to move this public folder's content to.-PathThe Path parameter specifies the path of the public folder, for example, \TopLevelPublicFolder\PublicFolder.-PerUserReadStateEnabledThe PerUserReadStateEnabled parameter specifies whether to maintain read and unread data on a per-user basis.-ProhibitPostQuotaThe ProhibitPostQuota parameter specifies the size of a public folder at which users are notified that the public folder is full.-ReplicasThe Replicas parameter specifies a list of public folder databases with which to replicate this public folder.-ReplicationScheduleThe ReplicationSchedule parameter specifies the replication schedule for the folder.-RetainDeletedItemsForThe RetainDeletedItemsFor parameter specifies the retention time for deleted items.-ServerThe Server parameter specifies the Exchange server where you want to run this command.-UseDatabaseAgeDefaultsThe UseDatabaseAgeDefaults parameter specifies whether to use the database age limit.-UseDatabaseQuotaDefaultsThe UseDatabaseQuotaDefaults parameter specifies whether to use the public store quota limits.-UseDatabaseReplicationScheduleThe UseDatabaseReplicationSchedule parameter specifies whether to use the public folder replication schedule.-UseDatabaseRetentionDefaultsThe UseDatabaseRetentionDefaults parameter specifies whether to use the database retention defaults.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.