SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Windows Batch, VBScript and PowerShell


Windows Batch, VBScript and PowerShell

Author
Message
Orlando Colamatteo
Orlando Colamatteo
SSCoach
SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)

Group: General Forum Members
Points: 15683 Visits: 14396
I have written tons of Windows Batch scripts and compiled VB6, however not as much VBScript. That said, I seen have entire books about managing Windows with VBScript and I know there are many people out there that use it a lot. PowerShell being the newest kid on the block I am not aware of anything VBScript offers that PowerShell does not. Maybe manipulating Windows GUI components?

If I were learning a new scripting language for Windows from the ground up in hopes of having it become my one-stop-shop for all my scripting needs is there a specific reason or use-case where you might recommend VBScript or Windows Batch over PowerShell?

__________________________________________________________________________________________________
There are no special teachers of virtue, because virtue is taught by the whole community. --Plato
Gary Varga
Gary Varga
SSCoach
SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)

Group: General Forum Members
Points: 17041 Visits: 6534
Given Microsoft's attitude (so considering support, going forward etc) and the features of PowerShell the answer is an emphatic "NO" from me.

Gaz

-- Stop your grinnin' and drop your linen...they're everywhere!!!
baguckis
baguckis
Grasshopper
Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)Grasshopper (12 reputation)

Group: General Forum Members
Points: 12 Visits: 182
I personally have yet to find anything that PS can't do that VBScript/Batch can.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search