Set-RASTunnelingPolicy
NAME
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.
PARAMETERS
SiteId (uint)
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 (string)
The tunneling policy gateway IP.
Id (uint)
The tunneling policy ID.
InputObject (TunnelingPolicy)
The tunneling policy to modify.
NewIP (string)
The gateway IP of the tunneling policy to modify.
PublishType
(RDSessionHostsType) Modify the description of the Windows Device Group.
Possible values: AllRDSessionHostsInSite, RDSessionHostPool, RDSessionHosts, None
RDSHostPoolIds (uint[])
The IDs of the selected RD session host pools.
RDSHostIds (uint[])
The IDs of the selected individual RD session hosts.
(CommonParameters)
INPUTS
OUTPUTS
-none-
EXAMPLES
---------- EXAMPLE 1 ----------
Set-RASTunnelingPolicy -Id 1 -NewIP "1.2.3.4"
Modifies the gateway IP of the tunneling policy with Id 1. ---------- EXAMPLE 2 ----------
Set-RASTunnelingPolicy $TunnelingPoliicy0 -NewIP "1.2.3.4"
Modifies the IP of the tunneling policy specified by the object obtained from the pipeline output.
RELATED LINKS
Last updated