Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Remove-AdfsLocalClaimsProviderTrust

Brian Lich|Last Updated: 3/8/2017

SYNOPSIS

Removes a local claims provider trust.

SYNTAX

IdentifierObject

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

Identifier

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

IdentifierName

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
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: 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
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
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
Parameter Sets: IdentifierObject
Aliases: 

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-TargetIdentifier

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

Type: String
Parameter Sets: Identifier
Aliases: 

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-TargetName

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

Type: String
Parameter Sets: IdentifierName
Aliases: 

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-WhatIf

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

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

Add-AdfsLocalClaimsProviderTrust

Disable-AdfsLocalClaimsProviderTrust

Enable-AdfsLocalClaimsProviderTrust

Get-AdfsLocalClaimsProviderTrust

Set-AdfsLocalClaimsProviderTrust

© 2017 Microsoft