Set-GW

NAME

Set-GW

SYNOPSIS

Modifies properties of a RAS Secure Client Gateway.

SYNTAX

Set-GW [-Server] <string> [[-SiteId] <uint>] [-AllowEmbed <bool>] [-AllowLaunchMethod <bool>] [-BindV4Addresses <string>] [-BindV6Addresses <string>] [-Broadcast <bool>] [-CertificateFile <string>] [-Cipher <string>] [-CipherStrength <CipherStrength> {Low | Medium | High | Custom}] [-Description <string>] [-Enable <bool>] [-EnableCMPort <bool>] [-EnableDOSPro <bool>] [-EnableGWPort <bool>] [-EnableHTML5 <bool>] [-EnableRDPPort <bool>] [-EnableRDPUDP <bool>] [-EnableSSL <bool>] [-EnableWyseSupport <bool>] [-GWPort <uint>] [-HTML5Port <uint>] [-IPs <string>] [-IPVersion <IPVersion> {Version4 | Version6 | BothVersions}] [-LaunchMethod <LaunchMethod> {ParallelsClientAndHTML5 | ParallelsClient | HTML5}] [-MinSSLVersion <AcceptedSSLVersions> {TLSv1_2 | TLSv1_1 | TLSv1 | SSLv3 | SSLv2}] [-NewServer <string>] [-PrivateKeyFile <string>] [-RDPPort <uint>] [-SSLPort <uint>] [<CommonParameters>]

Set-GW [-Id] <uint> [-AllowEmbed <bool>] [-AllowLaunchMethod <bool>] [-BindV4Addresses <string>] [-BindV6Addresses <string>] [-Broadcast <bool>] [-CertificateFile <string>] [-Cipher <string>] [-CipherStrength <CipherStrength> {Low | Medium | High | Custom}] [-Description <string>] [-Enable <bool>] [-EnableCMPort <bool>] [-EnableDOSPro <bool>] [-EnableGWPort <bool>] [-EnableHTML5 <bool>] [-EnableRDPPort <bool>] [-EnableRDPUDP <bool>] [-EnableSSL <bool>] [-EnableWyseSupport <bool>] [-GWPort <uint>] [-HTML5Port <uint>] [-IPs <string>] [-IPVersion <IPVersion> {Version4 | Version6 | BothVersions}] [-LaunchMethod <LaunchMethod> {ParallelsClientAndHTML5 | ParallelsClient | HTML5}] [-MinSSLVersion <AcceptedSSLVersions> {TLSv1_2 | TLSv1_1 | TLSv1 | SSLv3 | SSLv2}] [-NewServer <string>] [-PrivateKeyFile <string>] [-RDPPort <uint>] [-SSLPort <uint>] [<CommonParameters>]

Set-GW [-InputObject] <GW> [-AllowEmbed <bool>] [-AllowLaunchMethod <bool>] [-BindV4Addresses <string>] [-BindV6Addresses <string>] [-Broadcast <bool>] [-CertificateFile <string>] [-Cipher <string>] [-CipherStrength <CipherStrength> {Low | Medium | High | Custom}] [-Description <string>] [-Enable <bool>] [-EnableCMPort <bool>] [-EnableDOSPro <bool>] [-EnableGWPort <bool>] [-EnableHTML5 <bool>] [-EnableRDPPort <bool>] [-EnableRDPUDP <bool>] [-EnableSSL <bool>] [-EnableWyseSupport <bool>] [-GWPort <uint>] [-HTML5Port <uint>] [-IPs <string>] [-IPVersion <IPVersion> {Version4 | Version6 | BothVersions}] [-LaunchMethod <LaunchMethod> {ParallelsClientAndHTML5 | ParallelsClient | HTML5}] [-MinSSLVersion <AcceptedSSLVersions> {TLSv1_2 | TLSv1_1 | TLSv1 | SSLv3 | SSLv2}] [-NewServer <string>] [-PrivateKeyFile <string>] [-RDPPort <uint>] [-SSLPort <uint>] [<CommonParameters>]

DESCRIPTION

The Set-GW cmdlet is used to modify properties of a RAS Secure Client Gateway.

When executing the cmdlet, you can include only the parameters that you want to modify.

PARAMETERS


-Server <string>
The name of the RAS Secure Client Gateway to modify.

The name can be either FQDN or IP address, but you have to enter the actual name this server has in the RAS farm.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-SiteId <uint>
The site ID to which the Gateway belongs.

        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Id <uint>
The ID of the Gateway to modify.

        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-InputObject <GW>
The GW object to be modified.

A GW object representing a Gateway is obtained using the Get-GW cmdlet.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       true (ByValue)
        Accept wildcard characters?  false

-Enable <bool>
Enable or disable the specified Gateway.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-NewServer <string>
The new Gateway name. The name must be either a valid FQDN or a valid IP address.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Description <string>
A user-defined Gateway description.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-IPVersion <IPVersion>
The IP version for the Gateway to use. Accepted values: 0 (IPv4), 1 (IPv6), 2 (both IPv4 and IPv6).

Possible values: Version4, Version6, BothVersions

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-IPs <string>
One or multiple (separated by comma) IP addresses.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-BindV4Addresses <string>
IPv4 address to bind to.

If '0.0.0.0' is passed, will bind to all available addresses.

When using a specific address, it has to be available in the IPv4 address list.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-BindV6Addresses <string>
IPv6 address to bind to.

If '::' is passed, will bind to all available addresses.

When using a specific address, it has to be available in the IPv6 address list.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-EnableGWPort <bool>
Enable or disable a custom RAS Secure Client Gateway port.

To specify a custom port, set this parameter to $True and use the -GWPort parameter to specify the port number.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Broadcast <bool>
Enable or disable the 'Broadcast RAS Secure Client Gateway Address' option.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-EnableCMPort <bool>
Enable or disable the 'Client Manager Port' option.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-EnableDOSPro <bool>
Enable or disable the 'RDP DOS Attack Filter' option.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-EnableRDPPort <bool>
Enable or disable a custom RDP port.

To specify a custom port number, use the -RDPPort parameter.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-EnableRDPUDP <bool>
Enable or disable the 'RDP UDP Data Tunneling' option.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-GWPort <uint>
A custom Gateway port number. For this port to take effect, the -EnableGWPort parameters must be set to $True.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-RDPPort <uint>
A custom RDP port number. For this port to take effect, the -EnableRDPPort parameter must be set to $True.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-EnableSSL <bool>
Enable or disable SSL on the port specified in the -SSLPort parameter.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-SSLPort <uint>
SSL port number. To enable the port, set the -EnableSSL port parameter to $True.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-MinSSLVersion <AcceptedSSLVersions>
Minimum SSL version. Accepted values: 0 (TLS v1.2 only, strong), 1 (TLS v1.1 - TLS v1.2), 2 (TLS v1 - TLS v1.2), 3 (SSL v3 - TLS v1.2), 4 (SSL v2 - TLS v1.2).

Possible values: TLSv1_2, TLSv1_1, TLSv1, SSLv3, SSLv2

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-CipherStrength <CipherStrength>
Cipher strength. Accepted values: 0 (Low), 1 (Medium), 2 (High), 3 (Custom).

Possible values: Low, Medium, High, Custom

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Cipher <string>
Cipher string.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-PrivateKeyFile <string>
Private key file name.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-CertificateFile <string>
Certificate file name.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-EnableHTML5 <bool>
Enable or disable HTML5 connectivity on the Gateway.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-HTML5Port <uint>
A custom HTML5 port number.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-AllowEmbed <bool>
Allow embedding of Web Client into other web pages.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-AllowLaunchMethod <bool>
Allow users to select a resource launch method.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-LaunchMethod <LaunchMethod>
Launch method. Accepted values: 0 (Parallels Client and fallback to HTML5), 1 (Parallels Client only), 2 (HTML5 Client only).

Possible values: ParallelsClientAndHTML5, ParallelsClient, HTML5

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-EnableWyseSupport <bool>
Enable or disable Wyse ThinOS support.

        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 (http://go.microsoft.com/fwlink/?LinkID=113216). 

INPUTS

PSAdmin.GW

        The GW object to be modified.

        A GW object representing a Gateway is obtained using the Get-GW cmdlet.

OUTPUTS



EXAMPLES


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

Set-GW "server.company.dom" -Enable $False

Disables the specified RAS Secure Client Gateway in the Licensing Server site.

To disable a gateway in a specific site, specify the -SiteId parameter.

All parameters (apart from -Server) are optional and only passed if need to be updated.

---------- EXAMPLE 2 ----------

Set-GW -Id "1" -Enable $True

Enables the Gateway specified by ID.

---------- EXAMPLE 3 ----------

Set-GW $GW -Enable $False

Disables a Gateway specified by GW object ($GW variable).

A GW object representing a Gateway is obtained using the Get-GW cmdlet.

---------- EXAMPLE 4 ----------

Get-GW -Id 1 | Set-GW -Enable $False

Disables the Gateway which is identified by an object obtained from the pipeline output.

---------- EXAMPLE 5 ----------

Get-GW -Id 1 | Set-GW -Description "My new Gateway description"

Modifies the description of the Gateway obtained from the pipeline output.

RELATED LINKS

Parallels RAS v16.0