# Get-RASSite

## NAME

Get-RASSite

## SYNOPSIS

Retrieves information about one or multiple sites.

## SYNTAX

**Get-RASSite** \[\[-[Id](#id-string)] *(uint)*]\*\* \[*(*[*CommonParameters*](#CommonParameters)*)*]

**Get-RASSite** \[\[-[Name](#name-string)] *(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](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/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](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/new-rassite)
* [Set-RASSite](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/set-rassite)
* [Remove-RASSite](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/remove-rassite)
* [Invoke-RASSitePromoteToLicensing](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/invoke-rassitepromotetolicensing)
