CmdID / PowerShell / Cmdlets / Disable
Disable-AdfsNonClaimsAwareRelyingPartyTrust
Disables a relying party trust for a non-claims-aware web application or service 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 non-claims-aware relying party trust to disable.-TargetNameSpecifies the name of the non-claims-aware relying party trust to disable.-TargetNonClaimsAwareRelyingPartyTrustSpecifies a NonClaimsAwareRelyingPartyTrust object.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.