Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Windows Batch, VBScript and PowerShell Expand / Collapse
Author
Message
Posted Thursday, January 31, 2013 8:46 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Wednesday, April 16, 2014 9:25 AM
Points: 7,070, Visits: 12,523
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

Believe you can and you're halfway there. --Theodore Roosevelt

Everything Should Be Made as Simple as Possible, But Not Simpler --Albert Einstein

The significant problems we face cannot be solved at the same level of thinking we were at when we created them. --Albert Einstein

1 apple is not exactly 1/8 of 8 apples. Because there are no absolutely identical apples. --Giordy
Post #1414179
Posted Thursday, January 31, 2013 9:12 AM


SSCarpal Tunnel

SSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal Tunnel

Group: General Forum Members
Last Login: Wednesday, April 16, 2014 8:20 AM
Points: 4,862, Visits: 2,243
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!!!
Post #1414200
Posted Thursday, January 31, 2013 10:34 AM


Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: 2 days ago @ 12:22 PM
Points: 10, Visits: 149
I personally have yet to find anything that PS can't do that VBScript/Batch can.
Post #1414254
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse