You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/internal/Get-MsGraphResults.ps1
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,10 @@
1
1
<#
2
2
.SYNOPSIS
3
3
Query Microsoft Graph API
4
+
.PARAMETEREnableInFilter
5
+
Enables in filter by in on ids for requried uniqueIds; $filter={previous filter} and id in ({csv with ids})
6
+
Should be more flexible than GetByIds, scalability to be tested to eventually replace getbyids
7
+
This filter is currently experimental and will be subject to future change (move to DisableInFilterBatching).
4
8
.EXAMPLE
5
9
PS C:\>Get-MsGraphResults 'users'
6
10
Return query results for first page of users.
@@ -90,6 +94,11 @@ function Get-MsGraphResults {
90
94
)
91
95
92
96
begin {
97
+
98
+
if ($EnableInFilter) {
99
+
Write-Verbose"EnableInFilter switch used: this filter is currently experimental and will be subject to future change (move to DisableInFilterBatching)"
0 commit comments