VBScript to PowerShell Converter

Are you a VBScript guy trying to learn the new and cool way of doing stuff in PowerShell? Does it seem that everything is different now and you have to lookup the docs each time you want to do something you have been doing for ages?

Fear not! Finally there’s a tool which does VBScript to PowerShell conversions for you. You type in the VBScript expression and it gets automatically converted into the PowerShell equivalent.

Automated VBscript to PowerShell conversion

As you can see we have just added this functionality into the PowerGUI Script Editor. All you need to do is press Ctrl-B (or find VBScript in full list of Ctrl-I and find VBScript category there).

Once you select the construct you need and hit Enter, the corresponding PowerShell code gets added to your script.

The functionality is available in the latest update to PowerGUI – version 1.0.15 – which you can download from our community site.

Tags: , , , , ,

7 Responses to “VBScript to PowerShell Converter”


  1. 1 Alex May 14, 2008 at 3:07 pm

    This does not work with PG 1.0.16. Typing vb doesn’t bring up any list as illustrated here.

  2. 2 dmitrysotnikov May 14, 2008 at 3:45 pm

    Alex,

    This is weird. Are you getting the snippets popup when you press Ctrl-I?

    Is it just that the VBScript section which is missing?

    Is this a fresh install or an upgrade from an earlier version?

    Let’s follow-up on the discussion forum and troubleshoot this further: http://powergui.org/forum.jspa?forumID=118

    I am using the functionality all the time so I can assure you it is in the product.🙂

    Dmitry

  3. 3 ~Uno April 14, 2014 at 6:05 pm

    This is not a converter, it is merely an editor with the functions of vb added to snipping. You could just as easily use Studio Management for this.

  4. 4 = edyshor = August 25, 2016 at 11:54 am

    you should remove the freeware tag since is “free trial”

    • 5 Dmitry Sotnikov August 25, 2016 at 12:00 pm

      Are you sure? I am no longer with the project so maybe things changed – but this functionality definitely used to be in the free edition.


  1. 1 PowerScripting Podcast Episode 21, "One-half of Jeffrey Snover" « PowerScripting Podcast Trackback on March 19, 2008 at 5:28 pm
  2. 2 Snippet manager in PowerGUI Script Editor « Dmitry’s PowerBlog: PowerShell and beyond Trackback on November 12, 2010 at 9:00 am

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




My Recent Tweets

Legal

The posts on this blog are provided “as is” with no warranties and confer no rights. The opinions expressed on this site are mine and mine alone, and do not necessarily represent those of my employer - WSO2 or anyone else for that matter. All trademarks acknowledged.

© 2007-2014 Dmitry Sotnikov

March 2008
M T W T F S S
« Feb   Apr »
 12
3456789
10111213141516
17181920212223
24252627282930
31  

%d bloggers like this: