Get-ClientIntunePolicyResult

1.0.6

Script for getting gpresult-like report but for local client Intune policies. The result can be PSObject or HTML report.

In comparison to the built-in Intune HTML report, my report contains ALL policies, merged into logic groups with extra information like error, last execution time etc (see below).

For more information check my blog post https://doitpsway.com/get-a
Script for getting gpresult-like report but for local client Intune policies. The result can be PSObject or HTML report.

In comparison to the built-in Intune HTML report, my report contains ALL policies, merged into logic groups with extra information like error, last execution time etc (see below).

For more information check my blog post https://doitpsway.com/get-a-better-intune-policy-report-part-3.

How my Intune HTML report can look like: https://cdn.hashnode.com/res/hashnode/image/upload/v1636618134545/3A2AR-KrQ.png
How built-in Intune HTML report looks like: https://cdn.hashnode.com/res/hashnode/image/upload/v1636617956515/LWhmZrJZN.png

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name Get-ClientIntunePolicyResult

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Author(s)

@AndrewZtrhgf

Owners

Functions

ConvertFrom-MDMDiagReportXML ConvertFrom-XML ConvertTo-PsCustomObjectFromHashtable Test-URLStatus _translateStatus _getTargetName Get-InstalledSoftware _getIntuneScript _getIntuneApp _getRemediationScript

Dependencies

This script has no dependencies.

Release Notes

v1.0.6
Added:
- list of needed permission for Intune Graph calls
v1.0.5
Fixes:
- removed prerequisites for app auth
v1.0.4
Added:
- possibility to use application authentication
- switch showConnectionData
Changed:
- SIDs and Azure User IDs are translated to names if possible
- property userAzureObjectID was removed
Fixes:
-  fixed missing registry keys/values

Version History

Version Downloads Last updated
1.0.6 (current version) 152 11/19/2021
1.0.5 10 11/18/2021
1.0.4 17 11/18/2021
1.0.3 21 11/11/2021
1.0.2 9 11/11/2021
1.0.1 9 11/11/2021
1.0 13 11/11/2021