Skip to content

Commit c9bea83

Browse files
committed
Update to gather Android DPC devices
1 parent abf3d08 commit c9bea83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ManagedDevices/ManagedDevices_Hardware_Get.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ try {
207207

208208
else {
209209

210-
$uri = "https://graph.microsoft.com/$graphApiVersion/$Resource`?`$filter=managementAgent eq 'mdm' and managementAgent eq 'easmdm'"
210+
$uri = "https://graph.microsoft.com/$graphApiVersion/$Resource`?`$filter=managementAgent eq 'mdm' and managementAgent eq 'easmdm' and managementAgent eq 'googleCloudDevicePolicyController'"
211211
Write-Warning "EAS Devices are excluded by default, please use -IncludeEAS if you want to include those devices"
212212
Write-Host
213213

0 commit comments

Comments
 (0)