Script Disclaimer

The sample scripts provided here are not supported under any Microsoft standard support program or service. All scripts are provided AS IS without warranty of any kind. Microsoft further disclaims all implied warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance…

0

Scripting Resources

If you are interested in writing scripts to make your job easier the links below area good place to start. VBScript, JScript, WMI, WSH, ADSI  Scripting (MSDN Site VBScript, Jscript, WMI, WSH, ADSI)http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnanchor/html/scriptinga.asp Script Center (Technet)http://www.microsoft.com/technet/scriptcenter/default.mspx   PowerShell Windows PowerShellhttp://www.microsoft.com/windowsserver2003/technologies/management/powershell/default.mspx Scripting with Windows PowerShellhttp://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx How to Download Windows PowerShell 1.0http://www.microsoft.com/windowsserver2003/technologies/management/powershell/download.mspx Windows PowerShell 1.0 Documentation Packhttp://www.microsoft.com/downloads/details.aspx?FamilyId=B4720B00-9A66-430F-BD56-EC48BFCA154F&displaylang=en…

0

Using the FOR Command

There are a number of useful command-line utilities that can be used to manage remote computers.  The FOR command enables you to run a command ageist several computers of files.  For example the command line below can be used to ping (DO ping) the first item on each line (tokens=1) in the file input.txt.   FOR /F “tokens=1” %i…

1

FileCopy

OverviewThis FileCopy.vbs script performs a very simple task – it copies a file to the same directory on a number of computers.  A list of computers is provided in a test file named by default INPUT.TXT and then performs the file copy to each computer listed.  The script also creates an output log file named…

3

Useful Scripts

I like to write scripts.  I really enjoy automating some boring task and then walking away from it.  Who knows, maybe deep down I secretly desire to be a programmer…  Over the years I have written a number of scripts for customers from simple batch files to more complicated scripts to manage Active Directory.  For example a few…

1