HI All
I was wondering if anyone knew of any good tutorials where i could try to get the hang of VBS, but more focused on doing network stuff like, login scripts etc...
Im new to VBS stuff, so i need to start from basics..
Cheers
try this site....its not bad
http://www.w3schools.com/vbscript/vbscript_examples.asp
just had a quick look at that....
I think it will be a good place to start..... but does anyone know of site which are aimed at using VBS in a network environment.....
eg. logon logoff scripts.... etc... .

The term you need to search for is WSH, Windows Script[ing] Host and vbscript![]()
yeah www.computerperformance.co.uk
has examples for networking vbscripts and it walks you through it as well as pointing out key points etc.
Enjoy
Also WMI and ADSIOriginally Posted by webman
![]()
Mark Minasis Forums have some good examples as well. At the risk of Ric making another comment about my booksI am going to say I learnt most of mine out of the official Microsoft Press scripting guide. Best MS book I have bought
![]()
the help file for vbscript is really really really good and has loads of examples in to the point where you can cut and paste code.
http://www.microsoft.com/downloads/d...displaylang=en

Yep, forgot those ones ChrisH!![]()
ops:
On the server: Start > Run, "adsiedit.msc" will help you a lot if you are doing Active Directory stuff.
Pah.. it's Powershell (dotNet) scripting this week isn't it?
Funny how all the examples on technet are using WMI though. I have yet to see a poweshell script that impressed me yet. Its only good for a slight shorthand in some cases , oh and sorting results better :?Originally Posted by PiqueABoo
I saw an excellent example in a magazine which, in a single command, scanned an Exchange organization for disconnected mailboxes and reconnected them to the appropriate user accounts. That would take quite a few lines of VB script code!
There are some awful things in Powershell like instead of piping to 'more', you have to pipe to 'out-host -paging'. This can be aliased to 'oh -paging', but it's still a lot of extra typing, especially when you are learning your way around.
If you're learning VBScript, don't miss The Scripting Guy!
Sorry for multiple posts!
Mmm.. I've been oblivious until now and only recently skimmed through the examples in the guide which certainly are dripping with WMI.Funny how all the examples on technet are using WMI though
A lot of it looks like a lure for nix shell-scripters. Dunno about you but I can live without the $'s and all that PGP in one line stuff.
PS: I've use jscript and for various reasons would point new scripters to that, but you don't get the same peer support i.e. everyone else and the dog uses VBS.
There are currently 1 users browsing this thread. (0 members and 1 guests)