Solved

Windows Scripting

Posted on 2009-05-19
7
176 Views
Last Modified: 2012-05-07
I hope this is an accepted question here.. I'm not sure where else to go for honest answers.

Can anyone tell or direct me to good resources for teaching basic level scripting?  I'm looking specifically for WSH or even VB maybe as far as creating login scripts, automating user account creation, etc.  Like normal administration stuff.

I'd rather ask here than sift through the 400k Google results. ;p
0
Comment
Question by:Ben Hart
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 3

Assisted Solution

by:Cameron_S
Cameron_S earned 50 total points
ID: 24427238
Best money I ever spent was picking up the Microsoft Windows 2000 Scripting Guide. They may have an updated revision for 2008 Powershell and whatnot, but for good automation stuff for Server 2003, it can't be beat. I would highly recommend picking up a used copy at your retailer of choice - I picked mine up at Amazon for about $20 at the time.

I also picked up the Active Directory Cookbook (O'Reilly) which is nice as well.

Here is the MSSG Website: http://www.microsoft.com/technet/scriptcenter/guide/sagsas_overview.mspx?mfr=true
0
 
LVL 14

Author Comment

by:Ben Hart
ID: 24427272
I've looked at that one a bit, Amazon didnt have very many customer ratings at the time though so I was'nt sure.

but you mention powershell which brings up another question.. What is Powershell exactly?  Did it replace WSH or am I way off base?
0
 
LVL 3

Assisted Solution

by:Cameron_S
Cameron_S earned 50 total points
ID: 24427325
Powershell is Microsoft's move to bring back powerful console-based scripting. Much like the shell commands within the Unix world. You will see it a LOT in Exchange 2007, and somewhat in Server 2008 / Vista. It really hasn't replaced ADSI (Active Directory Scripting Interface) or WSH/WMI/VBS entirely, but it is the up-and-coming scripting language for MS servers.

The Active Directory Cookbook covers material in Powershell for Exchange 2007/Server 2008, so it is a good choice for that alone. If you are running a Server 2003/XP systems though, I really do suggest the MSSG as it covers WMI/WSH/VBS/ADSI and gives very practical cut-and-paste / modify to your scenario code examples and doesn't hurt your brain trying to understand it. It is one of the few MS books I suggest.
0
How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

 
LVL 65

Accepted Solution

by:
RobSampson earned 75 total points
ID: 24427587
And really, learning is by doing, so there's some good sites that provide a lot of good scripts:

The Microsoft Scripting Guys have started doing most of their stuff in PowerShell these days, but the archives have a lot of VBScript code.
http://www.microsoft.com/technet/scriptcenter/resources/qanda/default.mspx

http://www.computerperformance.co.uk/
http://www.activexperts.com/activmonitor/windowsmanagement/adminscripts/usersgroups/users/
http://www.activexperts.com/activmonitor/windowsmanagement/scripts/
http://www.activexperts.com/activmonitor/windowsmanagement/adminscripts/

There's also a few other links in the menu of the left there at activexperts

But basically, have somewhat of an idea on what you want to achieve, then look around for scripts that do similar things, and learn from those.  I've learnt a LOT of stuff in my time here at EE.

The Active Directory Cookbook is brilliant, as is the Windows Admin Scriping Little Black Book.

Regards,

Rob.
0
 
LVL 14

Author Comment

by:Ben Hart
ID: 24427670
you are correct in learning by doing.  thanks so much for the information!!

Thats why I come here.. experts all around you!
0
 
LVL 65

Expert Comment

by:RobSampson
ID: 24427727
Thanks for the grade. Good luck!

Rob.
0
 
LVL 96

Expert Comment

by:Lee W, MVP
ID: 24428947
I prefer and recommend people start at www.robvanderwoude.com 
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article is the result of a quest to better understand Task Scheduler 2.0 and all the newer objects available in vbscript in this version over  the limited options we had scripting in Task Scheduler 1.0.  As I started my journey of knowledge I f…
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question