From b8ab573c007524c1b1d06d8c6a730541e16324b1 Mon Sep 17 00:00:00 2001 From: Steve Brown Date: Tue, 17 Jun 2025 11:23:42 +0100 Subject: [PATCH] fix(powershell): add -Command to module update cmdline --- src/steps/powershell.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/steps/powershell.rs b/src/steps/powershell.rs index 7cb64c0a..839fe5f4 100644 --- a/src/steps/powershell.rs +++ b/src/steps/powershell.rs @@ -79,7 +79,7 @@ impl Powershell { pub fn update_modules(&self, ctx: &ExecutionContext) -> Result<()> { print_separator(t!("Powershell Modules Update")); - let mut cmd_args = vec!["Update-Module"]; + let mut cmd_args = vec!["-Command", "Update-Module"]; if ctx.config().verbose() { cmd_args.push("-Verbose");