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");