Skip to content

Commit

Permalink
25.2.21.20.39
Browse files Browse the repository at this point in the history
  • Loading branch information
gwblok committed Feb 22, 2025
1 parent f3f1ea8 commit be8c61f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hardware/Lenovo/EMPS/Lenovo-EMPS.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ function Invoke-LenovoSystemUpdater

}

$ArgList = "/CM $LSUSeverity -action $Action $LSUPackageTypes -includerebootpackages 3 -nolicense -exporttowmi "
$ArgList = "/CM $LSUSeverity -action $Action $LSUPackageTypes -includerebootpackages 1,3,5 -nolicense -exporttowmi "
if ($noReboot) {
$ArgList += ' -noreboot'
}
Expand All @@ -171,7 +171,7 @@ function Invoke-LenovoSystemUpdater
Set-ItemProperty -Path $LSURegKey -Name $LSURegName -Value $LSURegValue -Force | Out-Null

#$ArgList = "/CM -search A -action $Action $PackageTypes -includerebootpackages 3 -nolicense -exporttowmi -noreboot -noicon"
write-host -ForegroundColor Cyan "Starting Lenovo System Updater with arguments: $ArgList"
write-host -ForegroundColor Cyan "Starting Lenovo System Updater with AdminCommandLine: $ArgList"
$Updater = Start-Process -FilePath "C:\Program Files (x86)\Lenovo\System Update\TVSU.exe" -ArgumentList '/CM' -Wait -PassThru

if ($Updater.ExitCode -eq 0) {
Expand Down

0 comments on commit be8c61f

Please sign in to comment.