Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Windows PowerShell
- Copyright (C) Microsoft Corporation. All rights reserved.
- Try the new cross-platform PowerShell https://aka.ms/pscore6
- PS C:\Users\TuN> $u = New-Object -ComObject Microsoft.Update.Session
- >> $u.ClientApplicationID = 'MSDN Sample Script'
- >> $s = $u.CreateUpdateSearcher()
- >> #$r = $s.Search("IsInstalled=0 and Type='Software' and IsHidden=0")
- >> $r = $s.Search('IsInstalled=0')
- >> $r.updates|select -ExpandProperty Title
- Advanced Micro Devices - MEDIA - 11/16/2017 12:00:00 AM - 10.0.1.6
- Advanced Micro Devices Inc. - SecurityDevices - 6/19/2019 12:00:00 AM - 4.11.0.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement