I find the below a useful script, it moves files from one directory into a folder of the same name. So if you have five files, then five folders are created (without the extention) and the files are moved into each folders. I use this for moving Media and software downloads into there own seperate [...]
Archive for the ‘Windows Scripts’ Category
Script to move files into a Directory.
Posted: March 2, 2012 in Windows ScriptsTags: create directory, into folders, Move files, program, script
Filename Cleaner Script.
Posted: January 13, 2012 in Windows ScriptsTags: mutiple file rename, rename files, renamer script, VBS script, VBS script. windows file, Windows files
Here’s another simple script that I used frequently. In it’s currently state it removes Fullstops, Underscores, hyphens from files names. So a file call File.name-test_1.avi would become File name test.avi The script is often helpful when managing media or importing files into a systems that requires a specific format.
NBU to CSV 2.1 Updated Version.
Posted: November 9, 2011 in Windows ScriptsTags: NBU to CSV, script, windows
*** Updated Version to resolve names not being exported on some NBU files *** This is the Updated Version of the Script that removes some extra “;”‘s from the Name. The Heading fields also more closely match the once in Outlook. Also It now cope with mutiple cell phone numbers. The script only extracts contact, [...]
Local host tables on a large network can be a real pain, all the PC’s should use DNS Resolution, but often either as a short cut, or as a historic way of solving problems local host tables may be used. Often with old and out of date information. The below script uses active directory to [...]
This script hides user and contact from the Exchange address book. You just need to change the oContainer to the required OU. It’s an old scripted and I have an updated version somewhere the will do all sub OU below the specified OU. But may be useful to someone.
I often need to send e-mail in my VBS scripts. Instead of writing the same script over and Over. I Just place this sub routine in my VBS code. ‘***************************************************************** ”***** Send an E-mail Subroutine ******* ”***** 12 June 2011 ******* ”***** The Gamblor ******* ”***** ******* ‘*****************************************************************
The below script does a hardware audit on PCs. It reads a computers.txt file in the same directory and creates an audit report. you can do it to mutiple PC’s accross the network ( as long as they are accessable). ‘***************************************************************** ”***** Script to get PC Details (Processor ******** ”***** speed, type, Hard Drive Size, [...]
This script converts a nokia NBU type file exported for a Nokia phone, to a CSV file. Which you can import into Outlook or other program. This is the V2.1 of the file. Just copy and past the file into a text file and call it convert.vbs. Name your nbu file as file.nbu and run. [...]
This is a useful little script to clear out Host tables on user PC’s within an Active directory domain. It will only work on PC that are swithed on, and you can specify an AD OU to run it againsts. Run it as an administrator, and change the company name and OY.