VBScript to check if a windows patch is installed on a server or PC This a simple script that can be used if youn need to check if a specific patch is installed
Windows backup vbscript
Windows VBS script to backup Desktop and Laptop PROS AND CONS -No delta backup / no incremental (but robocopy only copy files changed) -No encryption (but only the user has access to its folder, check setACL function) -No compression (Could […]
windows 2008 delete update files
Free up C:\windows space, Windows Update Files Copy C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr_31bf3856ad364e35_6.1.7600.16385_none_c9392808773cd7da\cleanmgr.exe to: %systemroot%\System32. C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.1.7600.16385_en-us_b9cb6194b257cc63\cleanmgr.exe.mui to: %systemroot%\System32\en-US. cmd cleanmgr
Windows Enumerate Servers
Back to some VBS scripting… This script enumerates all Servers on the current domain and test it with a ping then writes to a server.txt file.
linux two interfaces same subnet
On RHEL6 and RHEL7 once you add a second interface on the same subnet, it does not work ( no ping) The cause of the problem is a change on the parameter rp_filter vi /etc/sysctl.conf net.ipv4.conf.default.rp_filter = 2 net.ipv4.conf.all.rp_filter = […]
check_con.vbs
Check connections for windows A Visual Basic Script to check how many open connections exists in a certain port. Here is the code: ‘Script Check Number of ESTABLISHED connections ‘Author: Felipe Ferreira ‘Data: 29/07/2010 ‘Version: 1.0 (nagios) ‘———-NAGIOS VARs Const […]
check iis cpu
This nagios plugin VBS script, gets exactly the amount of CPU a specific Aplication Pool is using, it helps a lot to identify witch site is using more CPU. It was tested on Windows 2003 only. I had the help […]