Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have to automate several tasks on a windows 2003 server machine. I have been struggling with all sorts of quirks in windows batch files (like the lack of SLEEP command and the fact that WMIC is not PSEXEC friendly...). Is there a free resource out there that can act as a reference for windows scripting? The documentation I found on Microsoft are not adequate, they describe each function/keyword in detail but they don't have (or at least I could not find) anything on creating complex scripts.

share|improve this question
What kind of scripting? vbscript? powershell? – Jim B Sep 7 '10 at 17:36
Actually I was doing vanilla batch files but powershell definitely seems like the way to go, thanks! :) – shipmaster Sep 7 '10 at 17:52
up vote 1 down vote accepted

The technet scriptcenter is a one stop shop for all things related to microsoft scripting. There are various tutorials and hours of introductory video and labs.

share|improve this answer

Scriptcenter is good. Another resource is's scripting site.

share|improve this answer is a great resource for Powershell scripting. Also, have a look a this free e-book on the site - Mastering Powershell by Dr. Tobias Weltner. Good stuff.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.