fix(powershell): remove mentions of USOClient

This commit is contained in:
Andre Toerien
2025-06-23 01:08:37 +02:00
committed by Gideon
parent f78514dbd8
commit 31f0097862
2 changed files with 18 additions and 18 deletions

View File

@@ -235,10 +235,10 @@ pub fn windows_update(ctx: &ExecutionContext) -> Result<()> {
powershell.windows_update(ctx)
} else {
print_warning(t!(
"Consider installing PSWindowsUpdate as the use of Windows Update via USOClient is not supported."
"The PSWindowsUpdate PowerShell module isn't installed so Topgrade can't run Windows Update.\nInstall PSWindowsUpdate by running `Install-Module PSWindowsUpdate` in PowerShell."
));
Err(SkipStep(t!("USOClient not supported.").to_string()).into())
Err(SkipStep(t!("PSWindowsUpdate is not installed").to_string()).into())
}
}