Skip to content

Commit 8f22163

Browse files
authored
Application_MDM_Export.ps1 invalid characters (#186)
Fixed invalid characters on line 195 of Application_MDM_Export.ps1
1 parent 59fc607 commit 8f22163

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Applications/Application_MDM_Export.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ $Resource = "deviceAppManagement/mobileApps"
192192
else {
193193

194194
$uri = "https://graph.microsoft.com/$graphApiVersion/$($Resource)"
195-
(Invoke-RestMethod -Uri $uri Headers $authToken Method Get).Value | ? { (!($_.'@odata.type').Contains("managed")) -and (!($_.'@odata.type').Contains("#microsoft.graph.iosVppApp")) -and (!($_.'@odata.type').Contains("#microsoft.graph.windowsAppX")) -and (!($_.'@odata.type').Contains("#microsoft.graph.androidForWorkApp")) -and (!($_.'@odata.type').Contains("#microsoft.graph.windowsMobileMSI")) -and (!($_.'@odata.type').Contains("#microsoft.graph.androidLobApp")) -and (!($_.'@odata.type').Contains("#microsoft.graph.iosLobApp")) -and (!($_.'@odata.type').Contains("#microsoft.graph.microsoftStoreForBusinessApp")) }
195+
(Invoke-RestMethod -Uri $uri -Headers $authToken -Method Get).Value | ? { (!($_.'@odata.type').Contains("managed")) -and (!($_.'@odata.type').Contains("#microsoft.graph.iosVppApp")) -and (!($_.'@odata.type').Contains("#microsoft.graph.windowsAppX")) -and (!($_.'@odata.type').Contains("#microsoft.graph.androidForWorkApp")) -and (!($_.'@odata.type').Contains("#microsoft.graph.windowsMobileMSI")) -and (!($_.'@odata.type').Contains("#microsoft.graph.androidLobApp")) -and (!($_.'@odata.type').Contains("#microsoft.graph.iosLobApp")) -and (!($_.'@odata.type').Contains("#microsoft.graph.microsoftStoreForBusinessApp")) }
196196

197197
}
198198

@@ -422,4 +422,4 @@ else {
422422
Write-Host "No MDM Applications added to the Intune Service..." -ForegroundColor Red
423423
Write-Host
424424

425-
}
425+
}

0 commit comments

Comments
 (0)