→ The Lansweeper Customer Excellence Awards 2024 - Submit Your Project Now! Learn More & Enter Here
‎01-19-2021 03:30 PM
$Computername=$args[0]
$query=Get-HotFix -ComputerName $Computername
$query| Export-Csv -NoType "c:\temp\$computername-WindowsUpdates.csv"
$FileLocation="c:\temp\$computername-WindowsUpdates.csv"
Start-Process notepad $FileLocation
powershell -noprofile -ExecutionPolicy bypass -command //SERVER/defaultpackageshare$/scripts/check-updates.ps1 {computer}
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now