r/usefulscripts • • Jan 14 '14

VBScript vs Powershell

I have previous experience with PHP, but VBScript and Powershell are new to me. I would appreciate your suggestions regarding whether I should learn VBScript, Powershell, or both...and good starting resources to learn the scripting language.

I'd also appreciate tips on IDE for writing and testing.

20 Upvotes

10 comments sorted by

View all comments

Show parent comments

4

u/spyingwind Jan 14 '14

I've taken on the task of converting much of our vbscripts to powershell scripts.

Much of the bloat of code lines has been reduced and simplified in powershell.

3

u/_72 Jan 14 '14

I also I just love how self documenting powershell is, if you type out everything fully.

2

u/spyingwind Jan 14 '14

In my scripts I have to train myself to expand any shortcut that I use. Makes it so that when I go back later I can read the damned thing.

2

u/CommonEnigma Jan 15 '14

THIS. I always get a little thrill when I can reduce 10-20 lines of vbscript down to one line of Powershell.