Repository navigation
0.27.0: harness fixes for PowerShell 7 and Entra accounts, rule corrections from round 10 - #7
Merged
Merged
Conversation
ModuleVersion 0.27.0, the manifest's release notes, and the changelog's Unreleased entries under the new version. The harness module path under PowerShell 7, -Credential for Microsoft Entra accounts, four rule corrections from validation round 10 and the Repair edit that hid its finding.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Version 0.27.0. Bumps
ModuleVersion, moves the changelog's Unreleased section under the new version and adds the manifest's release notes. No code changes: everything released here was merged in #4, #5 and #6.What 0.27.0 contains
Runtime harness
Cert:drive, andGet-AuthenticodeSignatureandConvertTo-SecureStringfailed to load (Harness module path under PowerShell 7, and rule fixes backed by validation round 10 #4).-Credentialdid not find a Microsoft Entra account's session, because Windows names such an account after its display name and not its sign-in name (Harness: -Credential finds a Microsoft Entra account's session #6).-ErrorAction Stopon 5.1, a refused grant on the run folder lost its message (Harness: -Credential finds a Microsoft Entra account's session #6).Rules, each backed by validation round 10 (#4)
IslPowerShell7Syntax: a cmdlet or parameter only PowerShell 7 has, andForEach-Object -Parallel, are reported as what they are under 5.1, a call that fails while the script carries on.Out-File -Encoding utf8NoBOM, listed in the rule but never matched, is a finding.IslInteractiveCall:Get-Credential -Credentialhanded something that may be a built credential is a warning, not an error.IslContextIssue: the drive-letter finding is Information, since the letter cannot say whether it is a mapped drive.Repair-IntuneScriptreturn 1; exit 1into1; exit 0; exit 1with no finding left (Harness module path under PowerShell 7, and rule fixes backed by validation round 10 #4).Documentation
Invoke-ScriptAnalyzer -Severitydoes with the custom rules, the wrapper's cache as it works, andRepair-IntuneScript's fixes by name (Harness module path under PowerShell 7, and rule fixes backed by validation round 10 #4).Validation kit (not shipped)
Collectno longer takes another command's output from the guest agent (Validation kit: Collect no longer takes another command's output from the guest agent #5).Changes in this pull request
IntuneScriptLab.psd1:ModuleVersion0.27.0 and a 0.27.0 entry inReleaseNotes.CHANGELOG.md: the Unreleased entries become[0.27.0] - 2026-10-05, a new empty Unreleased section, and the compare links at the foot.Verification
Build/Publish-Module.ps1 -WhatIfstages the allowlisted package, imports it in a fresh process, verifies it and stops atPublish IntuneScriptLab 0.27.0 -> PSGallery.Releasing
After merge, the tag publishes through
release.yml, which re-runs every gate and rejects a tag that disagrees with the manifest: