Skip to content

Commit b88e77c

Browse files
authored
Merge branch 'dev' into auth-modules-metadata
2 parents 33ae410 + 321dbe2 commit b88e77c

File tree

6 files changed

+58
-13
lines changed

6 files changed

+58
-13
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
### Example
2+
3+
```powershell
4+
5+
Import-Module Microsoft.Graph.Beta.Applications
6+
7+
Get-MgBetaServicePrincipalSynchronizationTemplate -ServicePrincipalId $servicePrincipalId
8+
9+
```
10+
This example shows how to use the Get-MgBetaServicePrincipalSynchronizationTemplate Cmdlet.
11+
Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +0,0 @@
1-
### Example
2-
3-
```powershell
4-
5-
Import-Module Microsoft.Graph.Applications
6-
7-
Get-MgServicePrincipalSynchronizationTemplate -ServicePrincipalId $servicePrincipalId
8-
9-
```
10-
This example shows how to use the Get-MgServicePrincipalSynchronizationTemplate Cmdlet.
11-

src/Calendar/Calendar.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,9 @@ directive:
4242
verb: Get
4343
subject: ^(UserCalendarSchedule)$
4444
remove: true
45+
#Remove cmdlet to avoid conflicts where alias has been set:[#3241](https://github.com/microsoftgraph/msgraph-sdk-powershell/issues/3241)
46+
- where:
47+
verb: Get
48+
subject: ^UserCalendarEventDelta$
49+
remove: true
4550
```

src/CloudCommunications/CloudCommunications.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,15 @@ directive:
3838
subject: ^UserOnlineMeeting$
3939
variant: ^(Create|CreateExpanded|CreateViaIdentity|CreateViaIdentityExpanded)([1-9]{1,2})$
4040
remove: true
41+
42+
#Remove cmdlet to avoid conflicts where alias has been set: [#3241](https://github.com/microsoftgraph/msgraph-sdk-powershell/issues/3241)
43+
- where:
44+
verb: Get
45+
subject: ^AllUserOnlineMeetingRecording$
46+
remove: true
47+
- where:
48+
verb: Get
49+
subject: ^AllUserOnlineMeetingTranscript$
50+
remove: true
51+
4152
```
Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
### Example 1: Code snippet
1+
### Example 1: Get list items with specific fields
22

33
```powershell
44
@@ -7,5 +7,16 @@ Import-Module Microsoft.Graph.Beta.Sites
77
Get-MgBetaSiteListItem -SiteId $siteId -ListId $listId -ExpandProperty "fields(select=Name,Color,Quantity)"
88
99
```
10-
This example shows how to use the Get-MgBetaSiteListItem Cmdlet.
10+
This example will get list items with specific fields
11+
12+
### Example 2: Get filtered list items with specific fields
13+
14+
```powershell
15+
16+
Import-Module Microsoft.Graph.Beta.Sites
17+
18+
Get-MgBetaSiteListItem -SiteId $siteId -ListId $listId -ExpandProperty "fields(select=Name,Color,Quantity)" -Filter "fields/Quantity lt 600"
19+
20+
```
21+
This example will get filtered list items with specific fields
1122

src/readme.graph.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -962,5 +962,23 @@ directive:
962962
subject: ^(.*)(OnPremise)(.*)$
963963
set:
964964
alias: ^(.*)(OnPremises)(.*)$
965+
966+
# Setting the alias below as per the request on issue [#3241](https://github.com/microsoftgraph/msgraph-sdk-powershell/issues/3241)
967+
968+
- where:
969+
verb: Get
970+
subject: UserOnlineMeetingTranscript
971+
set:
972+
alias: Get-Mg${subject-prefix}AllUserOnlineMeetingTranscript
973+
- where:
974+
verb: Get
975+
subject: UserEventDelta
976+
set:
977+
alias: Get-Mg${subject-prefix}UserCalendarEventDelta
978+
- where:
979+
verb: Get
980+
subject: UserOnlineMeetingRecording
981+
set:
982+
alias: Get-Mg${subject-prefix}AllUserOnlineMeetingRecording
965983

966984
```

0 commit comments

Comments
 (0)