Set-RASTunnelingPolicy
Last updated
Last updated
Set-RASTunnelingPolicy
Modifies the tunneling policy.
Set-RASTunnelingPolicy []** (uint) [ (string)] [- {AllRDSessionHostsInSite | RDSessionHostPool | RDSessionHosts | None}] [- (uint[])] [- (uint[])] [()]
Set-RASTunnelingPolicy [[-] ()] [ (string)] [- {AllRDSessionHostsInSite | RDSessionHostPool | RDSessionHosts | None}] [- (uint[])] [- (uint[])] [()]
Set-RASTunnelingPolicy [[-]** (string)] [[-] (uint)] [ (string)] [- {AllRDSessionHostsInSite | RDSessionHostPool | RDSessionHosts | None}] [- (uint[])] [- (uint[])] [()]
Modifies the tunneling policy.
The site ID to which to modify the specified tunneling policy.
If the parameter is omitted, the Licensing Server site ID will be used.
The tunneling policy gateway IP.
The tunneling policy ID.
The tunneling policy to modify.
The gateway IP of the tunneling policy to modify.
Possible values: AllRDSessionHostsInSite, RDSessionHostPool, RDSessionHosts, None
The IDs of the selected RD session host pools.
The IDs of the selected individual RD session hosts.
(CommonParameters)
-none-
**---------- 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.
() Modify the description of the Windows Device Group.