We are happy to announce the release of PowerShell Studio 2018, which is included as part of the regular update cycle for our subscribers.
New Features and Improvements
The 2018 release includes many improvements and new features to enhance your overall experience with PowerShell Studio.
We updated our cache to include additional information, such as parameter set names, return values and validation sets.
Note: Building the new cache will take longer than previous versions due to the inclusion of additional information.
Now when you hover over a cmdlet or function, the parameter set information is displayed, including the output types:
Parameter sets with specified output types are displayed accordingly:
PrimalSense can now display a cmdlet’s parameter validation set:
PrimalSense for using assembly Statements
PrimalSense will now provide a list of assemblies for the using statement’s assembly parameter.
Cmdlet PrimalSense for Qualified Modules
PowerShell Studio now provides PrimalSense for a module’s cmdlets when using the module’s fully qualified name:
Note: PrimalSense will only display the cmdlets of the specified module.
Cmdlet Parameter Set Completion
When working with a cmdlet or function, you can trigger the parameter set completion pop-up by pressing [Ctrl + Shift + Space]:
The pop-up will present the current parameter set (if it can be determined). When you press [TAB], PowerShell Studio will insert any missing parameters of the designated parameter set:
Customizable Consoles and PowerShell Core
You now have the option to configure PowerShell Studio’s embedded consoles (Options->Console):
On the first run, PowerShell Studio will attempt to detect Windows PowerShell and PowerShell Core and automatically add them to the console list.
If the need arises, you can reset the consoles back to the default PowerShell consoles by pressing the Reset button:
New Code Folding Option – Functions
PowerShell Studio 2018 added a new Functions option to code folding. The new Functions option will collapse and expand function declarations separately from script blocks:
Note: The Script Blocks option now only applies to script blocks that are not part of a function declaration.
Formatting – Reserved Word Casing
We added a new formatting option that allows you to format reserved word (keyword) character casing in Options->Formatting:
You can select from the following options:
|None||Leaves the reserved word casing as is.|
|Upper||Uses all upper-case characters:
|Lower||Uses all lower-case characters:
|Camel||Uses camel case characters:
Output Panel – Coloring
PSScriptAnalyzer results are now color-coded as well:
We added a new Copy Encoded command (Ribbon->Home->Clipboard) that will Base64 encode the selected text and copy it to the clipboard:
Remote Console Prompt
We’ve made it easy to create a new remote console session to any machine at any time. Now when you press the Remote Console button, and the Local Machine is selected in the platform settings (Ribbon->Home->Platform), PowerShell Studio will prompt you to enter remote credentials:
Previous versions required you to configure a remote machine before you could open a remote console.
New Variable for Snippets and Templates
PowerShell Studio 2018 introduces a new variable for snippets:
Whenever a snippet is triggered that contains this variable, it will insert the directory of the active script:
The %FileDirectory% variable can also be used in file templates.
Updated Generated Database Query Script
We updated the Database Panel’s generated query scripts to bring them in line with the generated grid functions:
The new script creates a cleaner presentation of the database results.
Changes to Assemblies list for GUIs
Previous versions of PowerShell Studio would list some of the core .NET assemblies in order to provide PrimalSense, and also to ensure the System.Windows.Form assembly was loaded when running the GUI script.
PowerShell Studio 2018 will no longer list the base .NET assemblies such as mscorlib, system, system.data, etc. As a result, the assembly list will most likely be empty but PowerShell Studio will continue to provide PrimalSense for these assemblies without explicitly listing them. This way, PowerShell Studio will only list external assemblies that you explicitly specify .
Note: GUI psf files created with previous versions of PowerShell Studio will still retain the old assemblies list. New psf files created in PowerShell Studio 2018 will have an empty list.
We made several performance improvements to the debugger and projects.
Improved Debugger Performance for Large Data Arrays
Hovering your cursor over a value with a large array, should now respond much faster than previous versions.
Improved Performance Handling for Output
We made improvements to our output handling to reduce the impact of large amounts of output flooding the UI. The application should now be more responsive in these situations.
Improved Project Syncing Performance
We reduced the time it takes to update a project by making some improvements to the performance of project file syncing.
Please continue providing your feedback. Many of the new features included in the service builds are suggestions from users like you. Submit your suggestions or feature requests on the Wish List and Feature Requests forum or the new Feature Requests page.
You can view the complete service build log here.