Pages

Sunday 28 May 2017

RansomWare 'wannCry' Patch Verify & Installation - PowerShell Script

Hello SysAdmin Friends,

As we are well aware that Ransome 'wannCry' badly impacted Globally.
Many of us were not aware what it is that time.
So after this Attack many organizations what to be in safe hand.
Might we all ran many our other utilities on the Servers to verify "Are we safe ?"
So I was working on the same thing so found many options but didn't work for me so I gathered all the information and PS commands from other site sources.
I finally made the script to Verify those RansomWare patches are Installed or not, IF not install? It will install from the root source.

Let check the Prerequisites and further steps to proceed on this.
<#
DESCRIPTION:
This script will check the Ransomware patches on provided servers.
If the patch is not found it will install with "NoReboot".
REQUIREMENTS:
PowerShell v2 and Above
Windows Server 2008 / 2012
VERSION HISTORY:
0.2     :   Add more filters to check the patch and run asjob.
0.1     :   Base Script

#> 

Click Here - RansomWare_patchInstall


Points to Take care :-
- Files should be in folder C:\RansomWare_patchInstall\
- Patches are located at - C:\RansomWare_patchInstall\patches
- psexec.exe should be at - C:\RansomWare_patchInstall\
- Textbox popup windows is for giving inputs for server list. Max servers list in each line is 1200.
- Email sending option also there IF you have local SMTP email configuration, Otherwise click NO when it popup. 
Regards,
Amol Patil

No comments:

Post a Comment

Installed Software Inventory from Remote Machine - Output in CSV (Excel) format

Hello, This is build to collect Installed Software Inventory from Remote Machine. You need to Enter Server names in server.txt file to co...