Skip to content

Troubleshoot module importing#2

Merged
royklo merged 7 commits into
mainfrom
troubleshoot-module-importing
Mar 11, 2026
Merged

Troubleshoot module importing#2
royklo merged 7 commits into
mainfrom
troubleshoot-module-importing

Conversation

@royklo

@royklo royklo commented Mar 11, 2026

Copy link
Copy Markdown
Owner

Summary of changes

  • Requires PowerShell 7.0 or higher with a clean, user-friendly error message when running on PS5.1
  • Fixed encoding issues that caused import failures on Windows (replaced em-dashes and Unicode arrows with ASCII)
  • Improved bug report template with diagnostic questions (PowerShell version, installation method, Get-Command output)
  • Updated documentation to clarify PS7 requirement across README and module docs
  • Version bump to 1.0.1 with updated release notes and correct GitHub project URL

Related issue
None

Checklist

  • Tests pass locally (Invoke-Pester ./Tests/Consistency.Tests.ps1)
  • Comment-based help is complete for any cmdlet I changed (synopsis, description, parameters, examples)
  • If I added or changed a cmdlet, I updated docs/CMDLET-REFERENCE.md — N/A, no cmdlet changes
  • If I added or changed code that calls Microsoft Graph, I updated the cmdlet required scopes and docs/PERMISSIONS.md — N/A, no Graph changes

Roy Klooster added 7 commits March 11, 2026 11:30
…nhancing clarity on prerequisites and installation instructions. Adjusted PowerShellVersion in module manifest and added version check in module script.
…ersion requirements and installation instructions. Update comments in IntuneAnomalies and IntuneEnrollmentFlows scripts for consistency in notation.
…ProjectUri to GitHub, and revise ReleaseNotes to reflect version 1.0.1 changes, including improved error messaging and compatibility fixes.
…st for improved user feedback. The error message now provides clearer instructions for installing PowerShell 7.0 or higher.
…ad of throwing an error for PowerShell version checks, improving script behavior on version mismatch.
@royklo royklo merged commit fcf8c43 into main Mar 11, 2026
2 checks passed
@royklo royklo deleted the troubleshoot-module-importing branch March 11, 2026 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant