Project DescriptionPoshPAIG (PowerShell Patch Audit/Installation GUI) allows you to easily audit and install patches on your servers in the network by providing a graphical interface to select which servers to audit/install and to generate reports for the systems.
The utility works in any environment, but the optimal environment is a where you have a local WSUS server and your systems have Windows Update settings configured to "Download updates and do not install" either through Group Policy or local policy.
Due to licensing issues, please download PSExec.exe from the link below and place in the root of the UI folder, otherwise the Install portion will failhttp://technet.microsoft.com/en-us/sysinternals/bb897553Version 1.7.1 has been released!Please see release notes in the downloads section for new features/bug fixes.
http://poshpaig.codeplex.com/releases/view/72479Run the utility via the Start-PoshPAIG.ps1 script instead of the legacy Open-WSUSUtility.ps1 script!Hey, Scripting Guy articles:
http://blogs.technet.com/b/heyscriptingguy/archive/2011/08/13/use-powershell-to-audit-and-install-windows-patches.aspxhttp://blogs.technet.com/b/heyscriptingguy/archive/2011/08/14/lessons-learned-while-writing-the-powershell-poshpaig-module.aspx A list of new features available are:
- MultiThreading of operations (Supports running 20 jobs at one time) without UI freeze
- Add multiple computers with Add Server button using comma to separate each server
- Select multiple computers in server list and perform operations on only those servers
- Able to reboot systems with a monitored reboot
- Ping sweep of all systems in server list
- View windowsupdate.log on an individual server
- View installed updates on servers
- Remotely run wuauclt /detectnow on servers
- Generate host list of servers
- Sort columns
- Notes column to track running operations
- Error report
The PowerShell Patch Audit/Installation GUI started out as a project for work to build an interface to perform the patching of our systems to those who were not familiar enough with PowerShell to run a set of scripts I build to perform the same auditing and installation of patches. This product is currently in Alpha as there are some bugs that need to be squashed as well as other features I need to add to the tool as well as updating some some current features.
A blog post about this is available at
http://learn-powershell.net/2011/06/03/powershell-patch-auditinstall-gui-poshpaig-released/What this tool gives you is a way to first audit your systems which you can supply one of many ways. You can supply a list of systems, pull a list from Active Directory or manually add the systems yourself into the utility.
Once added, you can decide whether to Audit patches, Install patches or Reboot the systems via a radio button. Depending on which box you select will determine what will happen when Run is clicked or you double-click on a system.
One of the best features about this tool is that it uses background jobs to perform all of the actions while the front end GUI is not affected. This means that you can freely move the GUI around as it does not get locked up like a normal WPF gui would in PowerShell if you attempted to run a job of some kind. You will also notice that the data in the GUI updates automatically as each job finishes for a server. For instance, if you are Auditing for patches, you will start seeing the number of patches waiting to be installed start updating next to each respective server. Same for Installing patches, the total number of installed patches, along with patches that gave an error when installing will be displayed in the GUI's data window. Also, a progress bar is at the bottom of the GUI and status bar to show you how far along the process is.
After an Audit or Installation is performed, there are options to generate a Grid-View report for viewing or a CSV report can easily be generated to the default location of the GUI in no time!
Next version The next version will have the following items that I am working on:
- New UI to allow for better scaling of new features
- Non-Running services query
- Updated code and reporting
- Various feature/bug requests
I will update this as necessary as other requests/bugs come in.