Coder Social home page Coder Social logo

windowspatching's Introduction

Windows Patching PowerShell Module

Purpose

A PowerShell module for patching Windows servers or desktops with WSUS as the Client Patch Source.

The PowerShell module can be used to patch hundreds or even thousands of Windows remote computers that are on a domain. The module patches them simultaneously unlike a lot that you will find out there. Meaning, you can patch 100 or 500 all at the same time. It really just depends on the resources available on the system the module is ran on, the environment resources and server services (What can be down at the same time).

The module does three main tasks:

  1. Test WSUS Client settings on remote computers
  2. Install Windows Patches on remote computers
  3. Check for Pending Windows Updates on remote computers

These major tasks are executed with these CmdLets:

  1. Test-WSUSClient
  2. Install-Patches
  3. Get-PendingUpdates

These CmdLets except a single host, typed out list of hosts or a file with a list of host names.

I used the Test-WSUSClient CmdLet to test hundreds of systems before the maintenance window to determine if they have the correct WSUS GPO settings in the registry and have sufficient local host and firewall permissions.

Then during the maintenance window I use the list of passed systems with the Install-Patches CmdLet to install the Windows patches, upgrade Vmware Tools and upgrade Vmware VM Hardware if needed during the patch window.

Before or after the maintenance window I use the Get-PendingUpdates CmdLet to check is there are pending patches needed.

I split the list into two groups and separate clustered or redundant services. Such as, splitting up domain controllers, clustered SQL servers, clustered terminal servers, etc.

More Information

HowTo Use Windows Patching PowerShell Module

Disclaimer

Use at own risk.

windowspatching's People

Contributors

levonbecker avatar

Watchers

James Cloos avatar Renato Regalado avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.