Nagios Exchange Nagios Exchange
  • Home
  • Directory
  • Library
  • Support
  • About
  • Submit Feedback

Advanced Search

Build precise queries to find exactly what you need

Search Logic

Select compatible versions

Press ESC to close

Sign In Sign Up
  • Home
  • Directory
  • Library
  • Support
  • About
  • Submit Feedback
Plugins4415Themes and Skins13Add-ons770Graphics and Logos36View All Categories
LinuxSecuritySNMPFile SystemCloud
New Listings Recently Updated Listings Most Favored Listings Most Popular Listings Most Rated Listings Most Reviewed Listings
Random Project
ArcServe CA ARCserve Backup r12 Number of Job Error Check
4.0 (1)
106.4K
RSS Feed
Newest Listings Updated Listings
Top Contributors
John Shorey (4)deskwork_itunes142 (4)Chad Columbus (3)Marcin Bednarski (3)Nick Overstreet (3)
See More
Newest Contributors
hsh-tro (1)Seiichi YAMAMOTO (1)codemasterydevelopers (1)sunilka (1)davidb (1)
See More

Copyright © 2009-2026 Nagios Enterprises, LLC. All rights reserved.

Privacy PolicyTerms of UseTrademarks
Home > Mike B
MB

Mike B

@shades4321

User Stats

Member Since: October 19, 2015

Favorites0

Views

Projects0

No Projects Found
Check Windows Updates using Powershell

Some additions to the script

The script does a good job, I'm not quite sure if this is the latest version of the script, but I noted a minor bug and some improvements that could be added. 1. Bug: $critialTitles = ""; should read: $criticalTitles = ""; The script works anyway despite the error. 2. Putting newlines into update string: $criticalTitles += $update.Title + " " Changed to: $criticalTitles += $update.Title + " `n" 3. These 3 lines are used twice in if statements and ideally would be in a function, just for neatness and brevity. $updateSession = new-object -com "Microsoft.Update.Session" $updates=$updateSession.CreateupdateSearcher().Search(("IsInstalled=0 and Type='Software'")).Updates Export-Clixml -InputObject $updates -Encoding UTF8 -Path $updateCacheFile Otherwise script works quite nicely.

Reviewed 11 years ago

No Favorites Found

Copyright © 2009-2026 Nagios Enterprises, LLC. All rights reserved.

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile