Szerkesztés

Megosztás a következőn keresztül:


Enable-AdfsLocalClaimsProviderTrust

Enables a local claims provider trust.

Syntax

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

Description

The Enable-AdfsLocalClaimsProviderTrust cmdlet enables a local claims provider trust.

Examples

Example 1: Enable a local claims provider trust

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

This command enables 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 enable. 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 enable.

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

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