# Get-RASBrokerStatus

### NAME

Get-RASBrokerStatus\ <br>

### SYNOPSIS

Retrieves the RAS Connection Broker status information.\ <br>

### SYNTAX

Get-RASBrokerStatus \[\[-[Id](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Get-RASBrokerStatus.html#Id)] *\<uint>*] \[*<*[*CommonParameters*](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Get-RASBrokerStatus.html#CommonParameters)*>*]\
\
Get-RASBrokerStatus \[\[-[InputObject](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Get-RASBrokerStatus.html#InputObject)] *<*[*Broker*](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/Broker.html)*>*] \[*<*[*CommonParameters*](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Get-RASBrokerStatus.html#CommonParameters)*>*]\
\
Get-RASBrokerStatus \[\[-[Server](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Get-RASBrokerStatus.html#Server)] *\<string>*] \[\[-[SiteId](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Get-RASBrokerStatus.html#SiteId)] *\<uint>*] \[*<*[*CommonParameters*](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Get-RASBrokerStatus.html#CommonParameters)*>*]\ <br>

### DESCRIPTION

Retrieves the RAS Connection Broker status information.\ <br>

### PARAMETERS

\
-**Server \<string>**\
The name of the server for which to retrieve the information.\
\
This must be the actual server name used in the RAS farm.\ <br>

```
        Required?                    false
```

```
        Position?                    0
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**SiteId \<uint>**\
Site ID from which to retrieve the specified RAS Connection Broker info.\
\
If the parameter is omitted, the site ID of the Licensing Server will be used.\ <br>

```
        Required?                    false
```

```
        Position?                    1
```

```
        Default value                0
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**Id \<uint>**\
The ID of the server for which to retrieve the information. To obtain the ID, use the Get-RASBroker cmdlet.\ <br>

```
        Required?                    false
```

```
        Position?                    0
```

```
        Default value                0
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**InputObject <**[**Broker**](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/Broker.html)**>**\
An object of type Broker representing a server for which to retrieve the information.\
\
To obtain the object, use the Get-RASBroker cmdlet.\ <br>

```
        Required?                    false
```

```
        Position?                    0
```

```
        Default value                
```

```
        Accept pipeline input?       true (ByValue)
```

```
        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 . 
```

<br>

### INPUTS

[Broker](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/Broker.html)

### OUTPUTS

[BrokerSysInfo](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/BrokerSysInfo.html)

### EXAMPLES

\
\&#xNAN;**---------- EXAMPLE 1 ----------**\
\
Get-RASBrokerStatus -Id 15\
\
Retrieves the RAS Connection Broker status information for the server with ID 15.\
\&#xNAN;**---------- EXAMPLE 2 ----------**\
\
Get-RASBrokerStatus -Server MyBroker\
\
Retrieves the RAS Connection Broker status information for the server named "MyBroker".\
\&#xNAN;**---------- EXAMPLE 3 ----------**\
\
Get-RASBrokerStatus -InputObject $Broker\
\
Retrieves the RAS Connection Broker status information for the server represented by the $Broker object.\
\&#xNAN;**---------- EXAMPLE 4 ----------**\
\
Get-RASBroker -Id 15 | Get-RASBrokerStatus\
\
Retrieves the RAS Connection Broker status information for the server represented by the $Broker object obtained from pipeline output.
