diff --git a/CHANGELOG.md b/CHANGELOG.md index 42e9425..646aec2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,15 @@ release notes. ## [Unreleased] +Nothing yet. + +## [0.30.0] - 2026-10-08 + +Three Win32 harness changes, found by running a blog post's demo on a developer machine and on the lab +device: the launcher no longer passes a per-user `cmd.exe` setting on to the install command, the 32-bit +host warning reads the batch file an install command names, and `-Architecture` follows the device's own +64-bit host, so the Win32 commands run unchanged on Windows on ARM. + ### Changed - `Invoke-IntuneDetectionTest`, `Invoke-IntuneRequirementTest` and `Invoke-IntuneWin32AppTest` no @@ -51,6 +60,7 @@ The harness, a rule, the evidence and the help follow the device now. error text attached, no post-detection. The harness now reports Failed, skips the post-detection and warns that the exit code was 0. A detection that writes to stderr and exits 0 is still Without issues, as before. Measured in user context on the lab device with five one-off remediations (round 11, `REM-STDERR-*`). + ## [0.28.0] - 2026-10-06 Two commands run several times faster, the fixer applies eight more edits, the Graph calls are retried @@ -582,7 +592,8 @@ Nothing any command does has changed. - Static rules: `Test-IntuneScript`. -[Unreleased]: https://github.com/fadwen/IntuneScriptLab/compare/v0.29.0...HEAD +[Unreleased]: https://github.com/fadwen/IntuneScriptLab/compare/v0.30.0...HEAD +[0.30.0]: https://github.com/fadwen/IntuneScriptLab/compare/v0.29.0...v0.30.0 [0.29.0]: https://github.com/fadwen/IntuneScriptLab/compare/v0.28.0...v0.29.0 [0.28.0]: https://github.com/fadwen/IntuneScriptLab/compare/v0.27.0...v0.28.0 [0.27.0]: https://github.com/fadwen/IntuneScriptLab/compare/v0.26.0...v0.27.0 diff --git a/IntuneScriptLab.psd1 b/IntuneScriptLab.psd1 index a0f6368..6b7232d 100644 --- a/IntuneScriptLab.psd1 +++ b/IntuneScriptLab.psd1 @@ -1,7 +1,7 @@ @{ # Module manifest for IntuneScriptLab RootModule = 'IntuneScriptLab.psm1' - ModuleVersion = '0.29.0' + ModuleVersion = '0.30.0' GUID = '3f6b2c9e-7d41-4a8f-9c2b-5e0d8a1f4b76' Author = 'Jeffrey Stuhr' CompanyName = '' @@ -64,6 +64,14 @@ pre-flight over the tenant's deployed scripts and readers for the agent's logs LicenseUri = 'https://github.com/fadwen/IntuneScriptLab/blob/main/LICENSE' ProjectUri = 'https://github.com/fadwen/IntuneScriptLab' ReleaseNotes = @' +0.30.0 - Invoke-IntuneDetectionTest, Invoke-IntuneRequirementTest and Invoke-IntuneWin32AppTest no + longer default -Architecture to x64, which Windows on ARM refuses; left out, it is the + device's 64-bit host (x64, or arm64 on ARM), the one the agent uses. Two Win32 fixes: the + launcher starts its child without NoDefaultCurrentDirectoryInExePath, a per-user cmd.exe + setting that made a bare install.cmd fail with "not recognized" although the agent's + cmd.exe finds it; and the 32-bit host warning also reads the batch file an install or + uninstall command names, where a powershell.exe call runs 32-bit just the same. See + CHANGELOG.md. 0.29.0 - A remediation that writes to stderr is a script error on the device whatever its exit code: RemediationStatus 3, Graph scriptError, the error text attached, no post-detection. Invoke-IntuneRemediationTest reported Recurred for that run since round 1; it reports Failed, @@ -84,20 +92,7 @@ pre-flight over the tenant's deployed scripts and readers for the agent's logs Invoke-IntuneRequirementTest take script paths from the pipeline; every result type has a format view. The in-box module table is held against the host's Windows PowerShell by a test, as the PowerShell 7-only tables are. See CHANGELOG.md. -0.27.0 - Harness: a user-context run started from PowerShell 7 gave the 5.1 host PowerShell 7's - module path (no Cert: drive, Security cmdlets failing to load); -Credential did not find - a Microsoft Entra account's session, because Windows names such an account after its - display name and not its sign-in name; a refused folder grant lost its message under - -ErrorAction Stop on 5.1. Rules, from a tenth validation round: IslPowerShell7Syntax says - that a 7-only cmdlet, parameter or -Parallel fails where it stands and the script carries - on, and flags Out-File -Encoding utf8NoBOM, which was listed and never matched; - IslInteractiveCall warns instead of erring when Get-Credential -Credential is handed - something that may be a built credential; IslContextIssue's drive-letter finding is - Information, since the letter cannot say whether it is a mapped drive. - Repair-IntuneScript no longer turns 'return 1; exit 1' into '1; exit 0; exit 1' with no - finding left. Help: what Invoke-ScriptAnalyzer -Severity does with the custom rules. See - CHANGELOG.md. -Earlier versions, 0.1.0 to 0.26.0: CHANGELOG.md, which ships with the module. +Earlier versions, 0.1.0 to 0.27.0: CHANGELOG.md, which ships with the module. '@ RequireLicenseAcceptance = $false }