Disable-AdfsLocalClaimsProviderTrust

Disables a local claims provider trust.

Syntax

Disable-AdfsLocalClaimsProviderTrust
       -TargetClaimsProviderTrust <LocalClaimsProviderTrust>
       [-PassThru]
       [-WhatIf]
       [-Confirm]
       [<CommonParameters>]
Disable-AdfsLocalClaimsProviderTrust
       -TargetIdentifier <String>
       [-PassThru]
       [-WhatIf]
       [-Confirm]
       [<CommonParameters>]
Disable-AdfsLocalClaimsProviderTrust
       -TargetName <String>
       [-PassThru]
       [-WhatIf]
       [-Confirm]
       [<CommonParameters>]

Description

The Disable-AdfsLocalClaimsProviderTrust cmdlet disables a local claims provider trust.

Examples

Example 1: Disable a local claims provider trust

PS C:\> Disable-AdfsLocalClaimsProviderTrust -TargetName "testldap"

This command disables a local claims provider trust named testldap.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-PassThru

Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-TargetClaimsProviderTrust

Specifies the local claims provider trust to disable. To obtain a LocalClaimsProviderTrust object, use the Get-AdfsLocalClaimsProviderTrust cmdlet.

Type:LocalClaimsProviderTrust
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-TargetIdentifier

Specifies the ID of the local claims provider trust to disable.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-TargetName

Specifies the name of the local claims provider trust to disable.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False