Actually, it is now 2.0.1 as I have fixed a couple of bugs in the module. But yes, I have finally released version 2.0 of PoshWSUS on Codeplex. Please go out there to check out all of the new features and let me know what you think. If you see any bugs, please be sure to report them on the issues page of the project.
For anyone unfamiliar with PoshWSUS, it is a PowerShell module used to managing a WSUS Server.
I actually have some Hey, Scripting Guy! articles coming out the week of January 16th that will cover using PowerShell with WSUS and also talks about using PoshWSUS 2.0. So be sure to check them out!
List of commands:
- Add-WSUSClientToGroup
- Approve-WSUSUpdate
- Connect-WSUSDatabaseServer
- Connect-WSUSServer
- Deny-WSUSUpdate
- Disconnect-WSUSServer
- Export-WSUSMetaData
- Get-WSUSChildServer
- Get-WSUSClient
- Get-WSUSClientGroupMembership
- Get-WSUSClientPerUpdate
- Get-WSUSClientsInGroup
- Get-WSUSCommand
- Get-WSUSContentDownloadProgress
- Get-WSUSCurrentUserRole
- Get-WSUSDatabaseConfig
- Get-WSUSDownstreamServer
- Get-WSUSEmailConfig
- Get-WSUSEvent
- Get-WSUSGroup
- Get-WSUSInstallableItem
- Get-WSUSInstallApprovalRule
- Get-WSUSServer
- Get-WSUSStatus
- Get-WSUSSubscription
- Get-WSUSSyncEvent
- Get-WSUSSyncHistory
- Get-WSUSSyncProgress
- Get-WSUSUpdate
- Get-WSUSUpdateApproval
- Get-WSUSUpdateCategory
- Get-WSUSUpdateClassification
- Get-WSUSUpdateFile
- Get-WSUSUpdatePerClient
- Get-WSUSUpdateSummary
- Get-WSUSUpdateSummaryPerGroup
- Get-WSUSUpdateSummaryPerClient
- Import-WSUSMetaData
- New-WSUSComputerScope
- New-WSUSGroup
- New-WSUSInstallApprovalRule
- New-WSUSLocalPackage
- New-WSUSUpdateScope
- Remove-WSUSClient
- Remove-WSUSClientFromGroup
- Remove-WSUSGroup
- Remove-WSUSInstallApprovalRule
- Remove-WSUSUpdate
- Reset-WSUSContent
- Resume-WSUSDownload
- Resume-WSUSUpdateDownload
- Set-WSUSEmailConfig
- Set-WSUSInstallApprovalRule
- Start-WSUSCleanup
- Start-WSUSInstallApprovalRule
- Start-WSUSSync
- Stop-WSUSDownload
- Stop-WSUSSync
- Stop-WSUSUpdateDownload
- Test-WSUSDatabaseServerConnection
Advertisement


Hey Boe, Great tool!
I am curious if there is a way to export a list of all ‘NotIntalled’ patches, with the KB and Title, along with a list of all computers that require it.
I am stuck patching some servers before I can finish rolling out SCCM and I require a report for my governance team. Any help would be appreciated.
I have made some headway with Get-WSUSUpdatePerClient, but I seem to be unable to limit it to a specific WSUS Computer Group ‘\All Computers\Servers\Infrasctructure – Dev and Test’
Thanks, Kevin!
You should be able to do what you are asking. Give me a few days and I will put something together that should meet your requirements.
Know what? I got it!
PS H:\> Get-WSUSClientsInGroup -Name ‘Infrastructure – Production’ | Get-WSUSUpdatePerClient -UpdateScope (New-WSUSUpdateScope -IncludedInstallationStates NotInstalled) | Export-CSV InfProdUpdateReport.csv
Might be a good thing to add to the get-help or your wiki?
Awesome! That is definitely something that I will add to the Wiki. I will probably include it in a future blog post that will expand on using PoshWSUS that I haven’t covered yet. Thanks!
Pingback: Episode 172 – vCenter Orchestrator « PowerScripting Podcast
The poshwsus and poshpaig are awesome, but I am stuck getting poshpaig to launch in a test lab I setup. I set powershell to unrestricted, but I’m prompted each time I launch the script. I also don’t see the open-wsus script mentioned in the documentation?
Thanks, Jake! What version of PoshPAIG are you using? The latest version out is 1.7.1 and I have replaced the Open-WSUSUtility.ps1 with Start-PoshPAIG.ps1 to open up the UI. When you download the ZIP file, make sure that you unblock the file prior to unzipping so you won’t get the prompt each time you run the script.