For the complete documentation index, see llms.txt. This page is also available as Markdown.

Set-RASTunnelingPolicy

SYNOPSIS

Modifies the tunneling policy.

SYNTAX

Set-RASTunnelingPolicy [-Id] <uint> [-NewIP <string>]
 [-PublishType {AllRDSessionHostsInSite | RDSessionHostPool | RDSessionHosts | None}]
 [-RDSHostIds <uint[]>] [-RDSHostPoolIds <uint[]>] [<CommonParameters>]
Set-RASTunnelingPolicy [[-InputObject] <TunnelingPolicy>] [-NewIP <string>]
 [-PublishType {AllRDSessionHostsInSite | RDSessionHostPool | RDSessionHosts | None}]
 [-RDSHostIds <uint[]>] [-RDSHostPoolIds <uint[]>] [<CommonParameters>]
Set-RASTunnelingPolicy [[-IP] <string>] [[-SiteId] <uint>] [-NewIP <string>]
 [-PublishType {AllRDSessionHostsInSite | RDSessionHostPool | RDSessionHosts | None}]
 [-RDSHostIds <uint[]>] [-RDSHostPoolIds <uint[]>] [<CommonParameters>]

DESCRIPTION

Modifies the tunneling policy.

EXAMPLES

Example 1

Modifies the gateway IP of the tunneling policy with Id 1.

Example 2

Modifies the IP of the tunneling policy specified by the object obtained from the pipeline output.

PARAMETERS

-SiteId

The site ID to which to modify the specified tunneling policy.

If the parameter is omitted, the Licensing Server site ID will be used.

-IP

The tunneling policy gateway IP.

-Id

The tunneling policy ID.

-InputObject

The tunneling policy to modify.

Type reference: TunnelingPolicy

-NewIP

The gateway IP of the tunneling policy to modify.

-PublishType

Modify the description of the Windows Device Group.

Possible values: AllRDSessionHostsInSite, RDSessionHostPool, RDSessionHosts, None

Type reference: RDSessionHostsType

-RDSHostPoolIds

The IDs of the selected RD session host pools.

-RDSHostIds

The IDs of the selected individual RD session hosts.

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

TunnelingPolicy

OUTPUTS

None

Last updated