Set-AdfsEndpoint

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

Synopsis

Sets the endpoint on a Web Application Proxy.

Description

The Set-AdfsEndpoint cmdlet sets endpoints on a Web Application Proxy.

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

-Proxy <Boolean>
    Indicates whether the endpoint is available on the federation server proxy. This is the only field of the endpoint that can be set.

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

-TargetAddressPath <String>
    Specifies the address path of the endpoint. The cmdlet makes the endpoint that you specify available to the extranet.

    Required?                    false
    Position?                    1
    Default value                none
    Accept pipeline input?       True (ByValue)
    Accept wildcard characters?  false

-TargetEndpoint <Endpoint>
    Specifies the endpoint that the cmdlet modifies. This value is typically taken from the pipeline.

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

-TargetFullUrl <Uri>
    Specifies the full URL of the endpoint that the cmdlet modifies.

    Required?                    true
    Position?                    1
    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 <SwitchParameter>
    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

Set-AdfsEndpoint [[-TargetAddressPath] <String>] -Proxy <Boolean> [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]

Set-AdfsEndpoint -TargetEndpoint <Endpoint> -Proxy <Boolean> [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]

Set-AdfsEndpoint [-TargetFullUrl] <Uri> -Proxy <Boolean> [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]

Notes
This cmdlet has three parameter-sets. You can use the Address, FullUrl, or TargetEndpoint parameter set, over the pipeline, to identify the endpoint. This cmdlet only allows you to modify the Proxy property of the endpoint.

—————————-Example 1—————————-
Set an endpoint
PS C:>Set- AdfsEndpoint -TargetAddressPath “/adfs/services/trust/13/Windows” -Proxy $True
This command sets the WS-Trust 1.3 endpoint for proxy use.

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

Get-Command Set-AdfsEndpoint

Get-Command Set-AdfsEndpoint powershell script adfs command cmdlet

You can also read about

  • Disable-AdfsEndpoint
  • Enable-AdfsEndpoint
  • Get-AdfsEndpoint

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

Leave a Reply

Your email address will not be published. Required fields are marked *