New-RASTunnelingPolicy

NAME

New-RASTunnelingPolicy

SYNOPSIS

Creates a tunneling policy.

SYNTAX

New-RASTunnelingPolicy -IP** (string) [-PublishType {AllRDSessionHostsInSite | RDSessionHostPool | RDSessionHosts | None}] [-RDSHostIds (uint[])] [-RDSHostPoolIds (uint[])] [SiteId (uint)] [(CommonParameters)]

DESCRIPTION

Creates a tunneling policy.

PARAMETERS

SiteId (uint)

Site ID of the new tunneling policy.

        Required?                    false

        Position?                    named

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false

IP (string)

The gateway IP of the tunneling policy.

        Required?                    true

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

PublishType

(RDSessionHostsType) The setting that determines which hosts are affected by the tunneling policy. Default: AllRDSessionHostsInSite.

Possible values: AllRDSessionHostsInSite, RDSessionHostPool, RDSessionHosts, None

        Required?                    false

        Position?                    named

        Default value                AllRDSessionHostsInSite

        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

-none-

OUTPUTS

-none-

EXAMPLES

**---------- EXAMPLE 1 ----------

New-RASTunnelingPolicy -IP 1.2.3.4 -PublishType None

Creates a tunneling policy.

Last updated