Site icon TOSS

Enable-AdfsLocalClaimsProviderTrust

powershell

Enable-AdfsLocalClaimsProviderTrust is accessible with the help of adfs module. To install adfs on your system please refer to this adfs.

Synopsis

Enables a local claims provider trust.

Description

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

Parameters

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

    Required?                    false
    Position?                    named
    Default value                none
    Accept pipeline input?       false
    Accept wildcard characters?  false

-TargetClaimsProviderTrust <LocalClaimsProviderTrust>
    Specifies the local claims provider trust to enable. To obtain a LocalClaimsProviderTrust object, use the Get-AdfsLocalClaimsProviderTrust cmdlet.

    Required?                    true
    Position?                    named
    Default value                none
    Accept pipeline input?       true(ByValue)
    Accept wildcard characters?  false

-TargetIdentifier <String>
    Specifies the ID of the local claims provider trust to enable.

    Required?                    true
    Position?                    named
    Default value                none
    Accept pipeline input?       true(ByValue)
    Accept wildcard characters?  false

-TargetName <String>
    Specifies the name of the local claims provider trust to enable.

    Required?                    true
    Position?                    named
    Default value                none
    Accept pipeline input?       true(ByValue)
    Accept wildcard characters?  false

-Confirm <SwitchParameter>
    Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.

    Required?                    false
    Position?                    named
    Default value                false
    Accept pipeline input?       false
    Accept wildcard characters?  false

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

Required?                    false
Position?                    named
Default value                false
Accept pipeline input?       false
Accept wildcard characters?  false

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>]

—————Example 1—————
Enable a local claims provider trust
PS C:>Enable-AdfsLocalClaimsProviderTrust -TargetName “testldap”
This command enables a local claims provider trust named testldap.

You can check the Version, CommandType and Source of this cmdlet by giving below command.

Get-Command Enable-AdfsLocalClaimsProviderTrust

You can also read about

To know more PowerShell cmdlets(Commands) on Active Directory Federation Services(ADFS) click here

Click on this Link for an Single place where you get all the PowerShell cmdlet sorted based on the modules.

You can also refer other blogs on PowerShell at link

You can also refer other blogs on Microsoft at link

And also if you required any technology you want to learn, let us know below we will publish them in our site http://tossolution.com/

Like our page in Facebook and follow us for New technical information.

References are taken from Microsoft

Exit mobile version