Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Powershell Windows Update Script

Status
Not open for further replies.

DarkOne72

Technical User
Jun 14, 2002
210
US
I was wondering if someone could assist me in a powershell script that would do a couple of things:

* Read from a text file of a list of KB's (windows updates) to uninstall
* Run over a network domain to where if it is on a machine remove the KB's listed in text file on server.
* Keep a list of computers it connects to to remove the KB's
* MOST IMPORT...REMOVE CERTAIN KB's IF INSTALLED (windows updates)

I have been failing misrablly at this; can someone help please?

Thanks In Advance.
 
Have you looked at any of the Windows Update modules for PowerShell out there?

The one I use the most is this one:
However, you could certainly just make a list of the registry keys from the HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall key, look at the uninstall string, and do an invoke-command on them.

Stop by the new Tek-Tips group at LinkedIn. Come say hi, look for a job, have some fun.
Pat Richard MVP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top