CmdID / PowerShell / Cmdlets / Remove
Remove-AdfsRelyingPartyTrust
Removes a relying party trust from the Federation Service. Windows Server PowerShell reference
From the Windows Server PowerShell reference 6 parameters Its page in the reference
Parameters
-PassThruReturns an object representing the item with which you are working.-TargetIdentifierSpecifies the identifier of the relying party trust to remove.-TargetNameSpecifies the name of the relying party trust to remove.-TargetRelyingPartySpecifies a RelyingPartyTrust object.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.