Commit b2378c5
authored
v4.0: Convert to PowerShell module with new features (#120)
* Fix hardcoded Graph URLs, add error handling, and clean up docs (#115)
- Replace 6 hardcoded graph.microsoft.com URLs with $script:GraphEndpoint
in Get-AssignmentFailures to fix USGov/USGovDoD tenant support
- Add try/catch error handling to Get-GroupMemberships matching the
pattern from Get-TransitiveGroupMembership
- Remove ghost .PARAMETER ShowAdminTemplates from comment-based help
- Add missing v3.10.0 release notes entry
Fixes #115
* Remove deprecated groupPolicyConfigurations and migrate deviceStatuses API (#117)
- Remove Administrative Templates (groupPolicyConfigurations) from all 9
feature areas -- migrated policies already appear under Settings Catalog
via configurationPolicies
- Remove AdminTemplates from html-export.ps1 chart and categories
- Migrate deviceConfigurations deviceStatuses endpoint (removed May 2024)
to POST-based getConfigurationPolicyDevicesReport reporting API
- Update totalCategories counter from 17 to 16
Fixes #117
* Add v4.0 features: group simulation, policy search, UI improvements
- Add Option 12: Simulate Group Membership Impact (what-if add to group)
- Add Option 14: Simulate Removing User from Group (what-if remove)
- Add Option 15: Search Policy Assignments (reverse lookup by name)
- Add terminal-width-aware separators via Get-Separator helper
- Add UPN format validation before network calls
- Normalize y/n prompts to accept Y/y/Yes/yes
- Add Autopilot Deployment Profiles and ESP Profiles to simulation
- Add ScopeTagFilter support to simulation options
- Add dedicated -SimulateTargetGroup and -SimulateRemoveTargetGroup params
- Remove deprecated groupPolicyConfigurations policy type
- Fix hardcoded Graph URLs to use dynamic GraphEndpoint variable
- Bump version to 4.0.0
* Convert to PowerShell module with setting search feature
Convert the 11K-line monolith script into a proper PowerShell module
publishable to PSGallery via Install-Module.
Module structure:
- 18 exported cmdlets (Public/) for all features
- 30 private helper functions (Private/)
- Pre-cached SettingDefinitions.json (17,785 definitions)
- IntuneAssignmentChecker alias for interactive mode
New features:
- Search-IntuneSetting: search for specific settings across all
Settings Catalog and Endpoint Security policies with configured values
- Update-IntuneSettingDefinition: refresh the settings catalog from Graph
- All options available as standalone cmdlets (e.g., Get-IntuneUserAssignment)
- PSGallery version check (replaces GitHub self-update)
Architecture:
- Module manifest (.psd1) with proper metadata and dependencies
- Module loader (.psm1) dot-sources Public/ and Private/ functions
- Module-scoped variables for shared state (GraphEndpoint, etc.)
- html-export.ps1 bundled locally (no more GitHub download)
* Update CI workflows for PowerShell module
- Add publish-module.yml: uses Publish-Module instead of Publish-Script,
validates module loads before publishing
- Update psscriptanalyzer.yml: scan Module/ directory recursively instead
of single script file
- Old publish-script.yml kept for reference (can be removed after v4.0 ships)
* Improve setting search with abbreviation expansion and fuzzy matching
- Add abbreviation map for common Intune terms (PSSO -> Platform SSO,
WHFB -> Windows Hello for Business, LAPS, ASR, EDR, etc.)
- Add normalized matching (strips spaces/separators for fuzzy ID matching)
- Search now matches against both original keyword and expanded form
- Default to showing only configured settings (-ShowAll for everything)
- Widen policy name column to 80 chars to avoid truncation
- Fix progress line overwrite artifact on shorter policy names
* Fix app platform detection showing Multi-Platform for Windows apps
Windows app types without the literal 'windows' substring in their
@odata.type (win32LobApp, winGetApp, microsoftStoreForBusinessApp,
officeSuiteApp) fell through to 'Multi-Platform' in the HTML report.
Adds explicit mappings and returns 'Web App' for webApp.
Closes #121
* Archive v3 script and align release notes for v4.0 module
- Move legacy IntuneAssignmentChecker.ps1 and html-export.ps1 to old/v3/
to match existing old/v1, old/v2 pattern and prevent users from running
the outdated monolith after switching to the module.
- Delete publish-script.yml workflow (replaced by publish-module.yml;
the old workflow would fail on release since Publish-Script cannot
republish a path-moved script).
- Correct release notes menu option numbers (13/14/15 were misnumbered
as 14/15/16) and mention the app platform detection fix.
* Rewrite README for v4.0 PowerShell module
- Replace .\IntuneAssignmentChecker.ps1 CLI examples with cmdlet usage
(Get-IntuneUserAssignment, Connect-IntuneAssignmentChecker, etc.).
- Update parameter reference table to list the 18 exported cmdlets and
their common parameters instead of old script switches.
- Document the four new v4.0 menu options (12-15): group simulations,
policy search, and setting search.
- Fix System Options section: [T] Switch Tenant, [0] Exit, [98]/[99].
- Update Azure Automation runbook example to use Connect-* and New-* flow.
- Add migration note for users upgrading from the v3.x Install-Script.
- Remove the legacy 'Download and run the script' manual install path;
replace with a local clone + Import-Module example.
* Bump 'Last updated' banner date to 2026-04-141 parent 4283eae commit b2378c5
58 files changed
Lines changed: 15501 additions & 437 deletions
File tree
- .github/workflows
- Module/IntuneAssignmentChecker
- Data
- Private
- Public
- old/v3
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | | - | |
| 50 | + | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
| 154 | + | |
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
This file was deleted.
Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.
Lines changed: 62 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
Lines changed: 39 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
Lines changed: 34 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
Lines changed: 53 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
0 commit comments