Some time ago I recommended focusing on PowerShell in the future when it comes to scripting. Jeffrey Snover from Microsoft also suggests making this move. He has a couple of hints to help you convert your VBScript scripts to PowerShell.
Function conversion guide Microsoft Technet offers a list VBScript commands, functions, statements, and operators with their PowerShell equivalents. Of course, there is often more than one way to convert VBScript to PowerShell. But this list certainly will help you to get started.
VBScript Conversion Snippets for Windows PowerShell SAPIEN Scripting Outpost has a tool that allows you to convert a VBScript function or statement into the PowerShell equivalent. Maybe this is a convenient way to convert your VBScripts line by line. If you work with the PrimalScript scripting environment, you can use the conversion tool as a plug-in. The 120 snippets cost $40, which seems a bit expensive to me. PrimalScript starts at $179 which is not cheap, too. Also check out this post in the Sapien blog which claims that you can use it without PrimalScript.
Microsoft® Windows PowerShell™ Step By Step Jeffrey Snover recommends this PowerShell book from Microsoft Press because it also addresses the conversion issue.
Note that it doesn’t always make sense to convert your “legacy scripts”. We will convert scripts only if major functional changes are necessary. To my experience, old scripts become useless after some time, anyway. The IT environment changes fast. Often you need scripts because the software you bought lacks certain functionality. The next version might already have this feature.




Subscribe via e-mail: 

VBScript to PowerShell snippets are also available in PowerGUI Script Editor:
http://dmitrysotnikov.wordpress.com/2008/03/14/vbscript-to-powershell-converter/
This is a free tool and the functionality is built in.