File tree Expand file tree Collapse file tree 4 files changed +68
-17
lines changed
CloudCommunications/v1.0/examples Expand file tree Collapse file tree 4 files changed +68
-17
lines changed Original file line number Diff line number Diff line change 1- ### Example 1: {{ Add title here }}
1+ ### Example 1: Code snippet
2+
23``` powershell
3- PS C:\> {{ Add code here }}
44
5- {{ Add output here }}
6- ```
5+ Import-Module Microsoft.Graph.Beta.Bookings
76
8- {{ Add description here }}
7+ $params = @{
8+ staffIds = @(
9+ "311a5454-08b2-4560-ba1c-f715e938cb79"
10+ )
11+ startDateTime = @{
12+ dateTime = "2022-01-25T00:00:00"
13+ timeZone = "India Standard Time"
14+ }
15+ endDateTime = @{
16+ dateTime = "2022-01-26T17:00:00"
17+ timeZone = "Pacific Standard Time"
18+ }
19+ }
920
10- ### Example 2: {{ Add title here }}
11- ``` powershell
12- PS C:\> {{ Add code here }}
21+ Get-MgBetaBookingBusinessStaffAvailability -BookingBusinessId $bookingBusinessId -BodyParameter $params
1322
14- {{ Add output here }}
1523```
16-
17- {{ Add description here }}
24+ This example shows how to use the Get-MgBetaBookingBusinessStaffAvailability Cmdlet.
1825
Original file line number Diff line number Diff line change 1- ### Example 1: Code snippet
1+ ### Example 1: List attendance records
22
33``` powershell
44
@@ -8,5 +8,5 @@ Import-Module Microsoft.Graph.CloudCommunications
88Get-MgUserOnlineMeetingAttendanceReportAttendanceRecord -UserId $userId -OnlineMeetingId $onlineMeetingId -MeetingAttendanceReportId $meetingAttendanceReportId
99
1010```
11- This example shows how to use the Get-MgUserOnlineMeetingAttendanceReportAttendanceRecord Cmdlet.
11+ This example will list attendance records
1212
Original file line number Diff line number Diff line change 1- ### Example 1: Code snippet
1+ ### Example 1: Get assignment categories
22
33``` powershell
44
@@ -7,5 +7,27 @@ Import-Module Microsoft.Graph.Beta.Education
77Get-MgBetaEducationClassAssignmentCategory -EducationClassId $educationClassId
88
99```
10- This example shows how to use the Get-MgBetaEducationClassAssignmentCategory Cmdlet.
10+ This example will get assignment categories
11+
12+ ### Example 2: Using ` $filter ` to get assignment categories
13+
14+ ``` powershell
15+
16+ Import-Module Microsoft.Graph.Beta.Education
17+
18+ Get-MgBetaEducationClassAssignmentCategory -EducationClassId $educationClassId -Filter "id eq 'd4cb4f68-9136-48d3-9054-c1208ea274f0'"
19+
20+ ```
21+ This example shows using ` $filter ` to get assignment categories
22+
23+ ### Example 3: Using ` $orderby ` to get assignment categories
24+
25+ ``` powershell
26+
27+ Import-Module Microsoft.Graph.Beta.Education
28+
29+ Get-MgBetaEducationClassAssignmentCategory -EducationClassId $educationClassId -Sort "displayName"
30+
31+ ```
32+ This example shows using ` $orderby ` to get assignment categories
1133
Original file line number Diff line number Diff line change 1- ### Example 1: Code snippet
1+ ### Example 1: Get assignment categories
22
33``` powershell
44
@@ -7,5 +7,27 @@ Import-Module Microsoft.Graph.Education
77Get-MgEducationClassAssignmentCategory -EducationClassId $educationClassId
88
99```
10- This example shows how to use the Get-MgEducationClassAssignmentCategory Cmdlet.
10+ This example will get assignment categories
11+
12+ ### Example 2: Using ` $filter ` to get assignment categories
13+
14+ ``` powershell
15+
16+ Import-Module Microsoft.Graph.Education
17+
18+ Get-MgEducationClassAssignmentCategory -EducationClassId $educationClassId -Filter "id eq 'd4cb4f68-9136-48d3-9054-c1208ea274f0'"
19+
20+ ```
21+ This example shows using ` $filter ` to get assignment categories
22+
23+ ### Example 3: Using ` $orderby ` to get assignment categories
24+
25+ ``` powershell
26+
27+ Import-Module Microsoft.Graph.Education
28+
29+ Get-MgEducationClassAssignmentCategory -EducationClassId $educationClassId -Sort "displayName"
30+
31+ ```
32+ This example shows using ` $orderby ` to get assignment categories
1133
You can’t perform that action at this time.
0 commit comments