Jump to content

Recommended Posts

Posted

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

Posted

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

Posted
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 :p I am going to say I learnt most of mine out of the official Microsoft Press scripting guide. Best MS book I have bought :)

Posted

Yep, forgot those ones ChrisH! :) :oops:

 

On the server: Start > Run, "adsiedit.msc" will help you a lot if you are doing Active Directory stuff.

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...