# Get-RASScheduleMessage

## NAME

Get-RASScheduleMessage

## SYNOPSIS

Retrieves schedule message information for a Schedule.

## SYNTAX

**Get-RASScheduleMessage** \[[Id](#id-string)]\*\* *(uint)* -[ObjType](#objtype) {RDS | VDI | AVD} \[[MessageId](#messageid-string) *(uint)*] \[*(*[*CommonParameters*](#CommonParameters)*)*]

**Get-RASScheduleMessage** \[\[-[Name](#name-string)] *(string)*] \[\[-[SiteId](#siteid-string)] *(uint)*] -[ObjType](#objtype) {RDS | VDI | AVD} \[[MessageId](#messageid-string) *(uint)*] \[*(*[*CommonParameters*](#CommonParameters)*)*]

## DESCRIPTION

Retrieves schedule message information for a Schedule.

## PARAMETERS

## MessageId (uint)

Scheduler job message ID.

```
        Required?                    false

        Position?                    named

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Name (string)

Scheduler job name.

```
        Required?                    false

        Position?                    0

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## SiteId (uint)

Site ID from which to retrieve the schedule job.

```
        Required?                    false

        Position?                    1

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Id (uint)

Scheduler job ID.

```
        Required?                    true

        Position?                    0

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## ObjType ([ScheduleObjType](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/scheduleobjtype))

Schedule object type.

Possible values: RDS, VDI, AVD

```
        Required?                    true

        Position?                    named

        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

[ScheduleMessage](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/schedulemessage)

## EXAMPLES

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

Get-RASScheduleMessage -ObjType VDI -Name "SchedItem"

Retrieves the list of Messages from the schedule item specified by name.\
\&#xNAN;**---------- EXAMPLE 2 ----------**

Get-RASScheduleMessage -ObjType VDI -Id 1

Retrieves the list of Messages from the schedule item specified by id.\
\&#xNAN;**---------- EXAMPLE 3 ----------**

Get-RASScheduleMessage -ObjType VDI -Name "SchedItem" -MessageId 1

Retrieves Message specified by id from the schedule item specified by name.\
\&#xNAN;**---------- EXAMPLE 4 ----------**

Get-RASScheduleMessage -ObjType VDI -Id 1 -MessageId 1

Retrieves Message specified by id from the schedule item specified by id.

## RELATED LINKS

* [Get-RASSchedule](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/get-rasschedule)
* [Add-RASScheduleMessage](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/add-rasschedulemessage)
* [Set-RASScheduleMessage](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/set-rasschedulemessage)
* [Remove-RASScheduleMessage](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/remove-rasschedulemessage)
