Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (7 sloc) 257 Bytes
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
$ses = New-Object -com "Microsoft.Update.Session"
$search = $ses.CreateUpdateSearcher()
$res = $search.Search("IsInstalled=0 and IsHidden=0")
foreach ($i in $res.Updates) {
write-host $i.Title
}
You can’t perform that action at this time.