Solved

Windows Scripting

Posted on 2009-05-19
7
172 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
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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
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 95

Expert Comment

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

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

This article was inspired by a question here at Experts Exchange (http://www.experts-exchange.com/Software/Photos_Graphics/Images_and_Photos/Q_28629170.html). The requirements stated in that question are (1) reduce the file size of a large number of…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

770 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