+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 16
Coding Thread, VBS Tutorial in Coding and Web Development; HI All I was wondering if anyone knew of any good tutorials where i could try to get the hang ...
  1. #1

    Join Date
    May 2006
    Location
    Leicestershire
    Posts
    345
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0

    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

  2. #2

    Join Date
    Nov 2006
    Posts
    547
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Re: VBS Tutorial


  3. #3

    Join Date
    May 2006
    Location
    Leicestershire
    Posts
    345
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0

    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... .

  4. #4

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,406
    Thank Post
    639
    Thanked 961 Times in 661 Posts
    Blog Entries
    2
    Rep Power
    324

    Re: VBS Tutorial

    The term you need to search for is WSH, Windows Script[ing] Host and vbscript

  5. #5

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,759
    Thank Post
    3,269
    Thanked 1,052 Times in 973 Posts
    Rep Power
    365

    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

  6. #6
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    5,009
    Thank Post
    120
    Thanked 282 Times in 260 Posts
    Rep Power
    108

    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

  7. #7
    browolf's Avatar
    Join Date
    Jun 2005
    Location
    Mars
    Posts
    1,525
    Thank Post
    106
    Thanked 89 Times in 75 Posts
    Blog Entries
    46
    Rep Power
    40

    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

  8. #8

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,406
    Thank Post
    639
    Thanked 961 Times in 661 Posts
    Blog Entries
    2
    Rep Power
    324

    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.

  9. #9

    Join Date
    Jan 2006
    Location
    Surburbia
    Posts
    2,178
    Thank Post
    74
    Thanked 307 Times in 243 Posts
    Rep Power
    115

    Re: VBS Tutorial

    Pah.. it's Powershell (dotNet) scripting this week isn't it?

  10. #10
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    5,009
    Thank Post
    120
    Thanked 282 Times in 260 Posts
    Rep Power
    108

    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 :?

  11. #11
    ajbritton's Avatar
    Join Date
    Jul 2005
    Location
    Wandsworth
    Posts
    1,632
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    34

    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!

  12. #12
    ajbritton's Avatar
    Join Date
    Jul 2005
    Location
    Wandsworth
    Posts
    1,632
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    34

    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.

  13. #13
    ajbritton's Avatar
    Join Date
    Jul 2005
    Location
    Wandsworth
    Posts
    1,632
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    34

    Re: VBS Tutorial

    If you're learning VBScript, don't miss The Scripting Guy!

  14. #14
    ajbritton's Avatar
    Join Date
    Jul 2005
    Location
    Wandsworth
    Posts
    1,632
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    34

    Re: VBS Tutorial

    Sorry for multiple posts!

  15. #15

    Join Date
    Jan 2006
    Location
    Surburbia
    Posts
    2,178
    Thank Post
    74
    Thanked 307 Times in 243 Posts
    Rep Power
    115

    Re: VBS Tutorial

    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.

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 2
    Last Post: 13th June 2007, 10:45 AM
  2. Replies: 0
    Last Post: 14th May 2007, 02:43 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •