Get-GW

NAME

Get-GW

SYNOPSIS

Retrieves information about one or multiple RAS Secure Client Gateway servers.

SYNTAX

Get-GW [[-Server] <string>] [[-SiteId] <uint>] [<CommonParameters>]

Get-GW [[-Id] <uint>] [<CommonParameters>]

DESCRIPTION

The Get-GW cmdlet is used to retrieve information about one or multiple RAS Secure Client Gateway servers.

Returns an array of objects of type GW, each containing properties of a Gateway. To see the complete list of object properties, use the Format-List cmdlet (see examples).

To see the complete list of object properties, use the Format-List cmdlet (see examples).

Note: the returned object contains only the major properties of a Gateway; it does not include all of the settings supported in RAS.

PARAMETERS


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

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?                    false
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-SiteId <uint>
The site ID from which to retrieve the Gateway information.

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

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

-Id <uint>
The ID of a Gateway for which to retrieve the information.

        Required?                    false
        Position?                    0
        Default value                0
        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



OUTPUTS

PSAdmin.GW

EXAMPLES


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

Get-GW "server.company.dom" | Format-List

Retrieves information about the specified RAS Secure Client Gateway server from the Licensing Server site.

To get the info from a specific site, specify the -SiteId parameter.

The Format-List cmdlet formats the display output to include the complete list of the returned properties.

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

Get-GW -Id 11

Retrieves information about the RAS Secure Client Gateway specified by ID.

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

Get-GW -Server "server.company.dom" -SiteId 2

Retrieves information about the specified RAS Secure Client Gateway from the specified site.

RELATED LINKS

Parallels RAS v16.0