Bearbeiten

Freigeben über


Remove-AdfsLocalClaimsProviderTrust

Removes a local claims provider trust.

Syntax

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

Description

The Remove-AdfsLocalClaimsProviderTrust cmdlet removes a local claims provider trust.

Examples

Example 1: Remove a local claims provider trust

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

This command removes 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 remove. 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 remove.

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 remove.

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