


$BIOS_Ver = Get-WmiObject -Class Win32_BIOS | Select-Object SMBIOSBIOSVersion | Format-List | Out-String -Stream Press 'OK' if you get 'Lenovo System Update' alert on the host. Write-Host "Critical and Recommended updates have been pushed. Reg add "HKLM\Software\Policies\Lenovo\System Update\UserSettings\General " /v AdminCommandLine /t REG_SZ /d '/CM -search R -action INSTALL -includerebootpackages 1,3,4,5 -noicon -nolicense ' /f | Out-NullĬmd.exe /c "C:\Program Files (x86)\Lenovo\System Update\Tvsu.exe " /CM # Pushing Critical and Recommended updates Remove-Item -Path $ env:TEMP\ system_update_.exe -Force Start-Process -Wait -FilePath $ env:TEMP\ system_update_.exe "/verysilent ", "/norestart "

Invoke-WebRequest -Uri " " -UseBasicParsing -OutFile $ env:TEMP\ system_update_.exe
