CmdID / PowerShell / Cmdlets / Set
Set-FederationTrust
Use the Set-FederationTrust cmdlet to modify an existing federation trust. Exchange PowerShell reference
From the Exchange PowerShell reference 10 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the name of the federation trust being modified.-ApplicationUriThe ApplicationUri parameter specifies the primary domain used for the federation organization identifier.-PublishFederationCertificateThe PublishFederationCertificate switch specifies the next certificate as the current certificate for the federation trust and publishes it to the Microsoft Federation Gateway.-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.-MetadataUrlThe MetadataUrl parameter specifies the URL where WS-FederationMetadata is published by the Microsoft Federation Gateway.-NameThe Name parameter specifies a name for the federation trust.-RefreshMetadataThe RefreshMetadata switch specifies that the metadata document and certificate is retrieved again from the Microsoft Federation Gateway.-ThumbprintThe Thumbprint parameter specifies the thumbprint of the X.509 certificate to be configured as the next certificate for the federation trust.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.