Skip to content

🛠️🕵️ Checks Windows servers or desktops for patching in the last 40 days.

License

Notifications You must be signed in to change notification settings

b3b0/checkPatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

checkPatch

Checks Windows Servers for patching in the last 40 days.

alt text

Requires

  • RSAT tools

Instructions

  • Run checkPatch.ps1 as a domain administrator
  • You did it!

Possible output

Looking good: server has had an update applied to it in the last 40 days.

Server appears to be offline: server is not pingable on the network. All proceeding checks are cancelled.

...Check WinRM: Ping has suceeded, but the PSSession portion of the connection could not be executed.

Make sure that:

  • WINRM is enabled on the remote machine
  • no network ACLs or system ACLs are blocking you
  • and that you have appropriate permissions to engage with the remote machine over WinRM.

...needs to be patched: Obvious. Also tells you when last patch was executed.

Future

  • Lists as input
  • single hosts as input
  • switch to prompt for credentials

About

🛠️🕵️ Checks Windows servers or desktops for patching in the last 40 days.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published