PowerShell Studio 2018: Released!

We are happy to announce the release of PowerShell Studio 2018, which is included as part of the regular update cycle for our subscribers.

PowerShell Studio 2018


New Features and Improvements

The 2018 release includes many improvements and new features to enhance your overall experience with PowerShell Studio.


PrimalSense Improvements

Updated Cache

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:

Hover - Parameter Set Info

Parameter sets with specified output types are displayed accordingly:

Parameter Sets with Different Output Types


PrimalSense can now display a cmdlet’s parameter validation set:

PrimalSense for Cmdlet Validation Set


PrimalSense for using assembly Statements

PrimalSense will now provide a list of assemblies for the using statement’s assembly parameter.

PrimalSense for Using Assembly

Cmdlet PrimalSense for Qualified Modules

PowerShell Studio now provides PrimalSense for a module’s cmdlets when using the module’s fully qualified name:

PrimalSense for Qualified Module Cmdlets

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]:

Parameter Set Completion

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:

Inserted Parameters


Customizable Consoles and PowerShell Core

You now have the option to configure PowerShell Studio’s embedded consoles (Options->Console):

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.

PowerShell Core Console Detection

If the need arises, you can reset the consoles back to the default PowerShell consoles by pressing the Reset button:

Reset Console


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:

Outlining - Functions

Collapse Function Declarations

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:

Options Reserved Word 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

PowerShell Studio will now change the color of the text to denote errors and warnings in the Output and Debug Panels, making important messages stand out.
Colored Output

PSScriptAnalyzer results are now color-coded as well:

Colored Script Analyzer Results


Copy Encoded

We added a new Copy Encoded command (Ribbon->Home->Clipboard) that will Base64 encode the selected text and copy it to the clipboard:

Copy Encoded

Encoded Text


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:

Remote Console - 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:

FileDirectory Snippet

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:

Updated Database Query Script

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.

Assemblies Before

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 .

Assemblies Now

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.


Performance Improvements

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.