Edit

Share via


Get-CsOnlineSchedule

Use the Get-CsOnlineSchedule cmdlet to get information about schedules that belong to your organization.

Syntax

Default (Default)

Get-CsOnlineSchedule
    -Id <String>
    [<CommonParameters>]

Description

The Get-CsOnlineSchedule cmdlet returns information about the schedules in your organization.

Examples

Example 1

Get-CsOnlineSchedule

This example retrieves all schedules that belong to your organization.

Example 2

Get-CsOnlineSchedule -Id "f7a821dc-2d69-5ae8-8525-bcb4a4556093"

This example gets the schedules that has the Id of f7a821dc-2d69-5ae8-8525-bcb4a4556093.

Parameters

-Id

Applicable: Microsoft Teams

The Id for the schedule to be retrieved. If this parameter is not specified, then all schedules in the organization are returned.

Parameter properties

Type:System.String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:0
Mandatory:False
Value from pipeline:True
Value from pipeline by property name:True
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

System.String

The Get-CsOnlineSchedule cmdlet accepts a string as the Id parameter.

Outputs

Microsoft.Rtc.Management.Hosted.Online.Models.Schedule