Set-AdfsEndpoint
Sets the endpoint on a Web Application Proxy.
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>]
Description
The Set-AdfsEndpoint cmdlet sets endpoints on a Web Application Proxy.
Examples
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.
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 |
-Proxy
Indicates whether the endpoint is available on the federation server proxy. This is the only field of the endpoint that can be set.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-TargetAddressPath
Specifies the address path of the endpoint. The cmdlet makes the endpoint that you specify available to the extranet.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-TargetEndpoint
Specifies the endpoint that the cmdlet modifies. This value is typically taken from the pipeline.
Type: | Endpoint |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-TargetFullUrl
Specifies the full URL of the endpoint that the cmdlet modifies.
Type: | Uri |
Position: | 0 |
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 |
Inputs
Microsoft.IdentityServer.PowerShell.Resources.Endpoint
This cmdlet returns a class structure that represents an endpoint.
Outputs
None
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.
Endpoints provide access to the federation server functionality of AD FS, such as token issuance and the publishing of federation metadata. Depending on the type of endpoint, you can enable or disable the endpoint or control whether the endpoint is published to Web Application Proxy.