Disable-AdfsRelyingPartyTrust
Disable-AdfsRelyingPartyTrust is accessible with the help of adfs module. To install adfs on your system please refer to this adfs.
Synopsis
Disables a relying party trust of the Federation Service.
Description
The Disable-AdfsRelyingPartyTrust cmdlet disables a relying party trust of the Federation Service. When disabled, AD FS does not issue tokens when users attempt to access this relying party.
Parameters
-Confirm <>
Required? false
Position? Named
Default value
Accept pipeline input? false
Accept wildcard characters?
-PassThru <>
Required? false
Position? Named
Default value
Accept pipeline input? false
Accept wildcard characters?
-TargetIdentifier <string>
Required? true
Position? Named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters?
-TargetName <string>
Required? true
Position? Named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters?
-TargetRelyingParty
Required? true
Position? Named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters?
-WhatIf <>
Required? false
Position? Named
Default value
Accept pipeline input? false
Accept wildcard characters?
Syntax
Disable-AdfsRelyingPartyTrust -TargetIdentifier <String> [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]
Disable-AdfsRelyingPartyTrust -TargetRelyingParty <RelyingPartyTrust> [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]
Disable- AdfsRelyingPartyTrust -TargetName <String> [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]
You can check the Version, CommandType and Source of this cmdlet by giving below command.
Get-Command Disable-AdfsRelyingPartyTrust