Get-RASSite.md

NAME

Get-RASSite

SYNOPSIS

Retrieves information about one or multiple sites.

SYNTAX

Get-RASSite [[-Id] (uint)] [(CommonParameters)]

Get-RASSite [[-Name] (string)] [(CommonParameters)]

DESCRIPTION

Retrieves information about one or multiple sites.

The cmdlet returns an array of objects of type Site.

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

PARAMETERS

Name (string)

The name of the site for which to retrieve the information.

Id (uint)

The ID of the site from which to retrieve the information.

(CommonParameters)

INPUTS

-none-

OUTPUTS

Site

EXAMPLES

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

Get-RASSite | Format-List

Retrieves the list of all available sites.

The Format-List cmdlet formats the display output to include all available site properties. **---------- EXAMPLE 2 ----------

Get-RASSite "My-Site"

Retrieves information about the site specified by name. **---------- EXAMPLE 3 ----------

Get-RASSite -Id 1

Retrieves information about the site specified by ID.

Last updated