Add-RASWinDeviceGroupInboundPort

NAME

Add-RASWinDeviceGroupInboundPort

SYNOPSIS

Adds the Windows device group Inbound ports.

SYNTAX

Add-RASWinDeviceGroupInboundPort [-Id] <uint> -Port <uint> -Profile {Domain | Private | Public | All} -Protocol {TCP | UDP} [<CommonParameters>]

Add-RASWinDeviceGroupInboundPort [[-InputObject] <WinDeviceGroup>] -Port <uint> -Profile {Domain | Private | Public | All} -Protocol {TCP | UDP} [<CommonParameters>]

Add-RASWinDeviceGroupInboundPort [-Name] <string> -Port <uint> -Profile {Domain | Private | Public | All} -Protocol {TCP | UDP} [-SiteId <uint>] [<CommonParameters>]

DESCRIPTION

Adds the Windows device group Inbound ports.

PARAMETERS

-Port <uint> The Port to add to the windows device group.

-Protocol <Protocol> The Protocol to add to the windows device group.

Possible values: TCP, UDP

-Profile <Profile> The Profile to add to the windows device group.

Possible values: Domain, Private, Public, All

-Name <string> The name of the windows device group from which to add the Inbound Port.

This must be the actual windows device group name used in the RAS farm.

-SiteId <uint> The ID of the Site from which from which to add the Inbound Port.

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

-Id <uint> The ID of a windows device group from which to add the Inbound Port.

-InputObject <WinDeviceGroup> The Windows Device Group to modify.

<CommonParameters>

INPUTS

WinDeviceGroup

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ----------

Add-RASWinDeviceGroupInboundPort -Name "WinDeviceGroup" -Port 50005 -Protocol TCP -Profile All

Adds an Inbound port to the list of Inbound ports of the Windows device group with name WinDeviceGroup. ---------- EXAMPLE 2 ----------

Add-RASWinDeviceGroupInboundPort -Id 1 -Port 50005 -Protocol TCP -Profile All

Adds an Inbound port to the list of Inbound ports of the Windows device group with Id 1.

Last updated