Operating Systems Server 2008 Server 2012 Windows

Windows updates via PowerShell

So with windows updates being temperamental at times i have found that windows PowerShell also has a module for updates. i have been using it for a while and seems to work every time with out failure. it is super simple. PowerShell Module https://gallery.technet.microsoft.com/scriptcenter/2d191bcd-3308-4edd-9de2-88dff796b0bc Copy the whole module folder (after unzipping) to %WINDIR%\System32\WindowsPowerShell\v1.0\Modules Setup Start …

Continue Reading
Centos Linux Operating Systems

Build WebServer on Centos 7

LAMP (Linux, Apache, MySQL, PHP) In this guide, we will walk through installing all of these components (except for Linux, which is already installed as your OS when you create the server). Install Apache Make sure that your software is up to date: #sudo yum update Install Apache: #sudo yum install httpd Start Apache: #sudo …

Continue Reading
Batch Scripting Windows

Renaming Files Using Batch

i often have to change the file names of music i have imported from CD this little script allows me to remove the track number from the file name. @echo off setlocal DisableDelayedExpansion for /f “usebackq delims=” %%N in (`dir /s /b`) do ( set var=%%~nxN setlocal EnableDelayedExpansion set “org=!var!” set “var=!var:0 =!” set “var=!var:1 …

Continue Reading
Scripting VBS Windows

Find Startup Items

A long time ago i found this VBS script to display the start-up items for a windows pc. i can not remember who is the author of the script. hopefully this will help someone.  This script is a VBS script ‘ StartupList.vbs – Create a text listing of all startup items. ‘ ************************** User Tweaks ********************************* ‘ The FileExt …

Continue Reading