CmdID / PowerShell / Cmdlets / Update
Update-AdfsRelyingPartyTrust
Updates the relying party trust from federation metadata. Windows Server PowerShell reference
From the Windows Server PowerShell reference 7 parameters Its page in the reference
Parameters
-MetadataFileSpecifies a file path in UNC format.-PassThruReturns an object representing the item with which you are working.-TargetIdentifierSpecifies the identifier of the relying party trust to update.-TargetNameSpecifies the name of the relying party trust to update.-TargetRelyingPartySpecifies a RelyingPartyTrust object.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.