CmdID / PowerShell / Cmdlets / Set
Set-SharingPolicy
Use the Set-SharingPolicy cmdlet to modify existing sharing policies that control how users inside your organization can share free/busy and contact information with users outside your organization. Exchange PowerShell reference
From the Exchange PowerShell reference 8 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the identity of the sharing policy that you want to modify.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-DefaultThe Default switch specifies that the sharing policy is the default sharing policy for all mailboxes.-DomainControllerThe DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory.-DomainsThe Domains parameter specifies the domains and the associated sharing options for those domains in the sharing policy.-EnabledThe Enabled parameter specifies whether to enable the sharing policy.-NameThe Name parameter specifies the unique name of the sharing policy.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.