none
PowerShell Count Updates Installed RRS feed

  • Question

  • Hello

    I am trying to figure out how to count how many updates are installed just need the number of them in powershell , going to add it to a a form

    thanks in advance

    • Moved by Bill_Stewart Monday, October 2, 2017 10:01 PM Unanswerable drive-by question
    Sunday, August 27, 2017 3:05 PM

All replies

  • help Get-Hotfix -full

    \_(ツ)_/

    Sunday, August 27, 2017 3:32 PM
  • PS M:\> $a = Get-HotFix

    PS M:\> $a.count
    326
    Tuesday, August 29, 2017 9:08 AM
  • thanks I think I am closer for what I am looking for but when I ran this is give me 318

    when I look at installed updates in control panel at the bottom give me a 455 updates installed

    thanks once more

    Wednesday, August 30, 2017 12:17 PM
  • you maybe able to combine the get-hotfix answer above and https://blogs.technet.microsoft.com/heyscriptingguy/2009/03/09/hey-scripting-guy-how-can-i-list-all-updates-that-have-been-added-to-a-computer/

    to get your total number


    • Edited by simbrook2 Wednesday, August 30, 2017 1:07 PM
    Wednesday, August 30, 2017 1:02 PM