Welcome, Register for free! or Login below:
EduGeek.net RSS Feeds Register FAQ Members Social Groups User Map Calendar Search Today's Posts Mark Forums Read

Go Back   EduGeek.net Forums > Coding and Web Development > Coding
Reply
 
LinkBack Thread Tools Search Thread Language
Sponsored Links
Old 24-11-2006, 12:31 PM   #1
 
Nij.UK's Avatar
 
Join Date: May 2006
Location: Leicestershire
Posts: 346
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0 Nij.UK is an unknown quantity at this point
Send a message via MSN to Nij.UK
Default VBS Tutorial

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
  Reply With Quote
Old 24-11-2006, 01:51 PM   #2
 
bishopsgarthstockton's Avatar
 
Join Date: Nov 2006
Posts: 551
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0 bishopsgarthstockton is an unknown quantity at this point
Default Re: VBS Tutorial

try this site....its not bad

http://www.w3schools.com/vbscript/vbscript_examples.asp
  Reply With Quote
Old 24-11-2006, 02:01 PM   #3
 
Nij.UK's Avatar
 
Join Date: May 2006
Location: Leicestershire
Posts: 346
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0 Nij.UK is an unknown quantity at this point
Send a message via MSN to Nij.UK
Default Re: VBS Tutorial

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... .
  Reply With Quote
Old 24-11-2006, 02:13 PM   #4
 
webman's Avatar
 
Join Date: Nov 2005
Location: County Durham
Posts: 5,668
uk uk durham city
Thanks: 105
Thanked 87 Times in 71 Posts
Blog Entries: 1
Rep Power: 38 webman is a name known to allwebman is a name known to allwebman is a name known to allwebman is a name known to allwebman is a name known to allwebman is a name known to all
Default Re: VBS Tutorial

The term you need to search for is WSH, Windows Script[ing] Host and vbscript
  Reply With Quote
Old 24-11-2006, 03:10 PM   #5
 
mac_shinobi's Avatar
 
Join Date: Aug 2005
Posts: 1,692
Thanks: 11
Thanked 30 Times in 29 Posts
Rep Power: 15 mac_shinobi has a spectacular aura aboutmac_shinobi has a spectacular aura about
Default Re: VBS Tutorial

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
  Reply With Quote
Old 24-11-2006, 04:51 PM   #6
 
ChrisH's Avatar
 
Join Date: Jun 2005
Location: East Lancs
Posts: 3,982
uk uk lancashire
Thanks: 3
Thanked 43 Times in 37 Posts
Rep Power: 22 ChrisH has a spectacular aura aboutChrisH has a spectacular aura aboutChrisH has a spectacular aura about
Default Re: VBS Tutorial

Quote:
Originally Posted by webman
The term you need to search for is WSH, Windows Script[ing] Host and vbscript
Also WMI and ADSI

Mark Minasis Forums have some good examples as well. At the risk of Ric making another comment about my books I am going to say I learnt most of mine out of the official Microsoft Press scripting guide. Best MS book I have bought
  Reply With Quote
Old 24-11-2006, 04:54 PM   #7
 
browolf's Avatar
 
Join Date: Jun 2005
Location: Lancashire
Posts: 594
Thanks: 5
Thanked 13 Times in 8 Posts
Rep Power: 11 browolf will become famous soon enough
Default Re: VBS Tutorial

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
  Reply With Quote
Old 24-11-2006, 10:16 PM   #8
 
webman's Avatar
 
Join Date: Nov 2005
Location: County Durham
Posts: 5,668
uk uk durham city
Thanks: 105
Thanked 87 Times in 71 Posts
Blog Entries: 1
Rep Power: 38 webman is a name known to allwebman is a name known to allwebman is a name known to allwebman is a name known to allwebman is a name known to allwebman is a name known to all
Default Re: VBS Tutorial

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.
  Reply With Quote
Old 24-11-2006, 10:34 PM   #9
 
PiqueABoo's Avatar
 
Join Date: Jan 2006
Posts: 531
Thanks: 2
Thanked 20 Times in 16 Posts
Rep Power: 11 PiqueABoo will become famous soon enoughPiqueABoo will become famous soon enough
Default Re: VBS Tutorial

Pah.. it's Powershell (dotNet) scripting this week isn't it?
  Reply With Quote
Old 24-11-2006, 10:41 PM   #10
 
ChrisH's Avatar
 
Join Date: Jun 2005
Location: East Lancs
Posts: 3,982
uk uk lancashire
Thanks: 3
Thanked 43 Times in 37 Posts
Rep Power: 22 ChrisH has a spectacular aura aboutChrisH has a spectacular aura aboutChrisH has a spectacular aura about
Default Re: VBS Tutorial

Quote:
Originally Posted by PiqueABoo
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 :?
  Reply With Quote
Old 24-11-2006, 11:06 PM   #11
 
ajbritton's Avatar
 
Join Date: Jul 2005
Location: Wandsworth
Posts: 1,414
Thanks: 7
Thanked 15 Times in 10 Posts
Rep Power: 11 ajbritton will become famous soon enough
Default Re: VBS Tutorial

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!
  Reply With Quote
Old 24-11-2006, 11:09 PM   #12
 
ajbritton's Avatar
 
Join Date: Jul 2005
Location: Wandsworth
Posts: 1,414
Thanks: 7
Thanked 15 Times in 10 Posts
Rep Power: 11 ajbritton will become famous soon enough
Default Re: VBS Tutorial

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.
  Reply With Quote
Old 24-11-2006, 11:12 PM   #13
 
ajbritton's Avatar
 
Join Date: Jul 2005
Location: Wandsworth
Posts: 1,414
Thanks: 7
Thanked 15 Times in 10 Posts
Rep Power: 11 ajbritton will become famous soon enough
Default Re: VBS Tutorial

If you're learning VBScript, don't miss The Scripting Guy!
  Reply With Quote
Old 24-11-2006, 11:13 PM   #14
 
ajbritton's Avatar
 
Join Date: Jul 2005
Location: Wandsworth
Posts: 1,414
Thanks: 7
Thanked 15 Times in 10 Posts
Rep Power: 11 ajbritton will become famous soon enough
Default Re: VBS Tutorial

Sorry for multiple posts!
  Reply With Quote
Old 24-11-2006, 11:32 PM   #15
 
PiqueABoo's Avatar
 
Join Date: Jan 2006
Posts: 531
Thanks: 2
Thanked 20 Times in 16 Posts
Rep Power: 11 PiqueABoo will become famous soon enoughPiqueABoo will become famous soon enough
Default Re: VBS Tutorial

Quote:
Funny how all the examples on technet are using WMI though
Mmm.. I've been oblivious until now and only recently skimmed through the examples in the guide which certainly are dripping with WMI.

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.
  Reply With Quote
Reply

Register now for FREE and post messages!


Username: Password: Confirm Password: E-Mail: Confirm E-Mail:
Birthday:      
Image Verification
  I agree to forum rules 

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can someone help me find a specific tutorial about wireless? sidewinder General Chat 2 13-06-2007 10:45 AM
Good tutorial on how to customize & deploy Office 2007 tosca925 Windows 0 14-05-2007 02:43 PM



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search Thread
Search Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT +1. The time now is 08:25 PM.
Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
Copyright EduGeek.net