fix(powershell): add -Command to module update cmdline

This commit is contained in:
Steve Brown
2025-06-17 11:23:42 +01:00
committed by Gideon
parent 75ac6808a1
commit b8ab573c00

View File

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