You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Fix: -Action Batch -Silent no longer cancels on the confirmation
prompt. The confirmation is now skipped entirely in -Silent mode
(caller already committed by invoking Batch with a config).
- Fix: -Action Batch -Silent no longer hangs on Read-Host when
creating a local admin. Password now reads from (in priority):
Config.LocalAdminPassword, env var named by Config.LocalAdminPasswordEnv,
or $env:RACKSTACK_LOCAL_ADMIN_PWD. Missing -> clean failure with
diagnostic rather than blocking.
- Fix: -Action Batch -Silent no longer hangs on the post-failure
undo prompt. Uses Confirm-UserAction so silent-mode returns the
safe default (skip undo) instead of blocking on Read-Host.
- Fix: -Action Batch -OutputFormat JSON now emits a machine-readable
summary on completion. Previously Batch silently produced no JSON
even when JSON was requested.
Copy file name to clipboardExpand all lines: Changelog.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,13 @@
1
1
# Changelog
2
2
3
+
## v1.94.11
4
+
5
+
-**Fix:**`-Action Batch -Silent` no longer cancels on the confirmation prompt. Previously `Confirm-UserAction` in silent mode returned the DefaultNo answer, so every headless batch run aborted before doing anything. The confirmation is now skipped entirely in `-Silent` mode (the caller already committed by invoking Batch with a config).
6
+
-**Fix:**`-Action Batch -Silent` no longer hangs on `Read-Host` when creating a local admin account. In silent mode the password now comes from (in priority order): `Config.LocalAdminPassword` (inline), the env var named by `Config.LocalAdminPasswordEnv`, or `$env:RACKSTACK_LOCAL_ADMIN_PWD`. If none are set, the step fails cleanly with a diagnostic instead of blocking forever.
7
+
-**Fix:**`-Action Batch -Silent` no longer hangs on the post-failure undo prompt. The prompt now goes through `Confirm-UserAction`, which in silent mode returns the safe default (skip undo) rather than blocking on `Read-Host`.
8
+
-**Fix:**`-Action Batch -OutputFormat JSON` now emits a machine-readable summary on completion — `{Action, Timestamp, Hostname, ConfigType, DryRun, TotalSteps, ChangesApplied, Skipped, Errors, RebootNeeded, Success}`. Previously the Batch action silently produced no JSON even when JSON was requested.
-**Fix:** Batch mode now returns a meaningful exit code — `Start-BatchMode` returns the failed-step count and both CLI callers (`-Action Batch` and the auto-run from `batch_config.json`) set the process exit code accordingly. Previously both paths unconditionally exited `0`, so CI/CD orchestration couldn't detect when batch steps failed.
0 commit comments