“A world of scripts at your fingertips.” That’s the apt heading for a new add-in for the PowerShell ISE. It’s called Script Browser, and it gives you instant access to thousands of scripts in the familiar ISE environment.
“Script Browser for Windows PowerShell ISE is an app developed by Microsoft Customer Services & Support (CSS) with assistance from the PowerShell team and the Garage to save IT Pros from the painful process of searching and reusing scripts. We start from the 9,000+ script samples on TechNet Script Center. Script Browser allows users to directly search, learn, and download TechNet scripts from within PowerShell ISE – your scripting environment.“
This bit is experimental, but it clearly looks like a step in the right direction. I’ll run some of my everyday scripts through it and see what it comes up with. I expect a learning experience will result. Use the same links as above for Script Browser.
“You will get the chance to try out another new function bundled with Script Browser – ‘Script Analyzer’. Microsoft CSS engineer managed to use the PowerShell Abstract Syntax Tree (AST) to check your current script against some pre-defined rules. In this first version, he built 7 pilot PowerShell best practice checking rules. By double-clicking a result, the script code that does not comply with the best practice rule will be highlighted. We hope to get your feedback on this experimental feature.”