├── Disable-WindowsUpdate.ps1 ├── Enable-WindowsUpdate.ps1 ├── Find-WindowsUpdate.ps1 ├── Get-InstalledKBNumber.ps1 ├── Get-InstalledUpdate.ps1 ├── Install-WindowsUpdate.ps1 ├── Patchy.Format.ps1xml ├── Patchy.ezformat.ps1 ├── Patchy.pipeworks.psd1 ├── Patchy.psd1 ├── Patchy.psm1 ├── Patchy.types.ps1xml ├── Test-UpdateRebootRequired.ps1 ├── en-us ├── About_Patchy.help.txt └── Patching_With_Patchy.walkthru.help.txt └── readme.md /Disable-WindowsUpdate.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StartAutomating/Patchy/762c392ec39b614b319c05d376d476d92e1afa75/Disable-WindowsUpdate.ps1 -------------------------------------------------------------------------------- /Enable-WindowsUpdate.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StartAutomating/Patchy/762c392ec39b614b319c05d376d476d92e1afa75/Enable-WindowsUpdate.ps1 -------------------------------------------------------------------------------- /Find-WindowsUpdate.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StartAutomating/Patchy/762c392ec39b614b319c05d376d476d92e1afa75/Find-WindowsUpdate.ps1 -------------------------------------------------------------------------------- /Get-InstalledKBNumber.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StartAutomating/Patchy/762c392ec39b614b319c05d376d476d92e1afa75/Get-InstalledKBNumber.ps1 -------------------------------------------------------------------------------- /Get-InstalledUpdate.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StartAutomating/Patchy/762c392ec39b614b319c05d376d476d92e1afa75/Get-InstalledUpdate.ps1 -------------------------------------------------------------------------------- /Install-WindowsUpdate.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StartAutomating/Patchy/762c392ec39b614b319c05d376d476d92e1afa75/Install-WindowsUpdate.ps1 -------------------------------------------------------------------------------- /Patchy.Format.ps1xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | System.__ComObject#{c1c2f21a-d2f4-4902-b5c6-8a081c19a890}System.__ComObject#{70cf5c82-8642-42bb-9dbc-0cfd263c6c4f} 6 | 7 | System.__ComObject#{c1c2f21a-d2f4-4902-b5c6-8a081c19a890} 8 | System.__ComObject#{70cf5c82-8642-42bb-9dbc-0cfd263c6c4f} 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | if ($_.IsMandatory) { 19 | Write-Host $_.Title -ForegroundColor Red 20 | } elseif ($_.AutoSelectOnWebSites) { 21 | Write-Host $_.Title -ForegroundColor DarkYellow 22 | } else { 23 | Write-Host $_.Title -ForegroundColor Green 24 | } 25 | "" 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | System.__ComObject#{c2bfb780-4539-4132-ab8c-0a8772013ab6} 37 | 38 | System.__ComObject#{c2bfb780-4539-4132-ab8c-0a8772013ab6} 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | Write-Host "$($_.Date) $($_.Title)" 49 | "" 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /Patchy.ezformat.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StartAutomating/Patchy/762c392ec39b614b319c05d376d476d92e1afa75/Patchy.ezformat.ps1 -------------------------------------------------------------------------------- /Patchy.pipeworks.psd1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StartAutomating/Patchy/762c392ec39b614b319c05d376d476d92e1afa75/Patchy.pipeworks.psd1 -------------------------------------------------------------------------------- /Patchy.psd1: -------------------------------------------------------------------------------- 1 | @{ 2 | ModuleVersion='1.0' 3 | TypesToProcess='Patchy.Types.ps1xml' 4 | FormatsToProcess='Patchy.Format.ps1xml' 5 | ModuleToProcess='Patchy.psm1' 6 | GUID='23e6eeeb-b9bd-4bbc-b69d-6548d0fc331b' 7 | Description='Update-Windows -with PowerShell' 8 | Copyright='Copyright 2012' 9 | Author='Start-Automating' 10 | CompanyName = 'Start-Automating' 11 | FileList='Find-WindowsUpdate.ps1', 12 | 'Get-InstalledKBNumber.ps1', 13 | 'Get-InstalledUpdate.ps1', 14 | 'Install-WindowsUpdate.ps1', 15 | 'Patchy.Format.ps1xml', 16 | 'Patchy.pipeworks.psd1', 17 | 'Patchy.psd1', 18 | 'Patchy.psm1', 19 | 'Patchy.types.ps1xml', 20 | 'Test-UpdateRebootRequired.ps1', 21 | 'Enable-WindowsUpdate.ps1', 22 | 'Disable-WindowsUpdate.ps1' 23 | } 24 | -------------------------------------------------------------------------------- /Patchy.psm1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StartAutomating/Patchy/762c392ec39b614b319c05d376d476d92e1afa75/Patchy.psm1 -------------------------------------------------------------------------------- /Patchy.types.ps1xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | System.__ComObject#{c2bfb780-4539-4132-ab8c-0a8772013ab6} 5 | 6 | 7 | KBNumber 8 | 9 | 10 | $this | 11 | Where-Object {$_.Title -like "*kb*" } | 12 | ForEach-Object {$_.Title -split " "} | 13 | Where-Object {$_ -match "kb\d" } | 14 | ForEach-Object { 15 | $_.Replace('(', '').Replace(')','').Replace(",","") 16 | } 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /Test-UpdateRebootRequired.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StartAutomating/Patchy/762c392ec39b614b319c05d376d476d92e1afa75/Test-UpdateRebootRequired.ps1 -------------------------------------------------------------------------------- /en-us/About_Patchy.help.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StartAutomating/Patchy/762c392ec39b614b319c05d376d476d92e1afa75/en-us/About_Patchy.help.txt -------------------------------------------------------------------------------- /en-us/Patching_With_Patchy.walkthru.help.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StartAutomating/Patchy/762c392ec39b614b319c05d376d476d92e1afa75/en-us/Patching_With_Patchy.walkthru.help.txt -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | [Official Website](http://Patchy.Start-Automating.com) 4 | 5 | 6 | 7 | 8 | #### Patchy is a free PowerShell module made by [Start-Automating](http://start-automating.com) that helps smooth out the chop of maintaining Windows Updates. 9 | 10 | 11 | It lets you find required and recommended patches by name, date, and update type. You can use Patchy to determine what patches have already been applied to a machine, and can tell if your machine requires a reboot. Patchy makes scripting patch management almost painless. (almost). 12 | 13 | 14 | --------------------------------------------------------------------------------