# Get-RASSite

## NAME

Get-RASSite

## SYNOPSIS

Retrieves information about one or multiple sites.

## SYNTAX

**Get-RASSite** \[\[-[Id](#Id)] _\<uint>_] \[_<_[_CommonParameters_](#CommonParameters)_>_]

**Get-RASSite** \[\[-[Name](#Name)] _\<string>_] \[_<_[_CommonParameters_](#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.

```
        Required?                    false

        Position?                    0

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**Id \<uint>**\
The ID of the site from 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 documentation. 
```

## INPUTS

-none-

## OUTPUTS

[Site](../classes-and-enumerations/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.\
&#xNAN;**---------- EXAMPLE 2 ----------**

Get-RASSite "My-Site"

Retrieves information about the site specified by name.\
&#xNAN;**---------- EXAMPLE 3 ----------**

Get-RASSite -Id 1

Retrieves information about the site specified by ID.

## RELATED LINKS

* [New-RASSite](new-rassite)
* [Set-RASSite](set-rassite)
* [Remove-RASSite](remove-rassite)
* [Invoke-RASSitePromoteToLicensing](invoke-rassitepromotetolicensing)
