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.
Required? false
Position? 1
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
IP (string)
The tunneling policy gateway IP.
Required? false
Position? 0
Default value
Accept pipeline input? false
Accept wildcard characters? false
Id (uint)
The tunneling policy ID.
Required? true
Position? 0
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
InputObject (TunnelingPolicy)
The tunneling policy to modify.
Required? false
Position? 0
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
NewIP (string)
The gateway IP of the tunneling policy to modify.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
PublishType
(RDSessionHostsType) Modify the description of the Windows Device Group.
Possible values: AllRDSessionHostsInSite, RDSessionHostPool, RDSessionHosts, None
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
RDSHostPoolIds (uint[])
The IDs of the selected RD session host pools.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
RDSHostIds (uint[])
The IDs of the selected individual RD session hosts.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
(CommonParameters)
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters documentation.
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