Solved

Windows Scripting

Posted on 2009-05-19
7
169 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
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 3

Assisted Solution

by:Cameron_S
Cameron_S earned 50 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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 to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 65

Accepted Solution

by:
RobSampson earned 75 total points
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks for the grade. Good luck!

Rob.
0
 
LVL 95

Expert Comment

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

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Not long ago I saw a question in the VB Script forum that I thought would not take much time. You can read that question (Question ID  (http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_28455246.html)28455246) Here (http…
Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

763 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now