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
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
Scripting VBS Windows

Find Next Available Drive Letter

Sometimes when i cam creating a script to install an application or set up a network share, I come across the problem that the user is using the drive letter for another mapping. So I wrote a small script to display the next usable drive letter This script is written in vbs ‘************************************************************************ ‘* ‘* The script finds …

Continue Reading