Even though I’ve been writing scripts for years, I find that I work in the Console Pane in PowerShell Studio 2014 almost as much as I work in the Editor Pane. I use the Console Pane to look up commands and syntax (Get-Command), test a parameter value, or work through the details of a pipeline […]
Category: PowerShell Studio
Adding Parameter Sets to a Function
Like many of you, I really live at the command line, because automation is more efficient than single actions. But, as the command line becomes more complex, we need tools to restore our efficiency. The complex syntax of parameter sets in functions is one of those cases. In this post, I learn to use the […]
PowerShell Studio 2014: Editing Functions
We improved the Function Builder yet again! Man, when are you guys going to stop this? Never. With the 4.1.71 build of PowerShell Studio 2014, you now have the option to edit existing functions within the Function Builder! Ok cool, how do I edit my existing functions? Simple, you can edit existing functions using the […]
PowerShell Studio 2014: UI Changes
In the latest build of PowerShell Studio 2014 (v4.1.71) we made some UI changes to the Ribbon. Particularly the Home tab of the Ribbon: The most notable change is to the Run group. We changed the run and debug icons and rearranged the menu buttons: We separated out the remoting commands into their own menu: […]
ScriptMerge 2014 updated
ScriptMerge 2014 has been updated with the recent service releases of PrimalScript 2014, PowerShell Studio 2014 and VersionRecall 2014. Comparing the same files over and over again? You can use the new file groups function to open these compares quickly. Simply create a text file with your file pairs listed line by line: File1|File2 separated […]
PowerShell Studio 2014: Improved Function Builder
In a previous article we covered the new Function Builder. In the latest service release of PowerShell Studio 2014 (v4.1.64), we improved parameter set support in the Function Builder. As you can see, we altered the ordering of the fields to improve the over-all work flow of the tool. Notice the question marks? If you […]
PowerShell Studio 2014: Verify Script
We offered a mechanism on how to import a remote machine’s Module profile as mentioned here and here. The import can be extremely useful when you need to work on a script that runs on a remote server. PowerShell Studio 2014 introduces a new feature that lets you verify that your script will run on […]
PowerShell Studio: Initializing my GUI controls
If you are working with a GUI script within PowerShell Studio and find that you need to edit the exported script to modify the control’s initialization, then you are doing something wrong. Don’t get me wrong, modifying and initialization of control properties is not the issue; in fact that it part of writing a GUI. […]
PowerShell Studio 2014: Collection Project
In PowerShell Studio 2014, we introduced a new Collection Project. The Collection Project allows you to keep track of a group of files, which typically consists of (but not limited) to ps1 script files. For example, you may have various ps1 scripts that dot source each other. Now you can create a Collection Project and […]
PowerShell Studio 2014: Convert Functions into a Module
PowerShell Studio 2014 added a new project feature: New Module From Functions. You may find at times you reuse various functions and constantly copy them into new scripts or find different variations of the same function are located in different scripts. You may come to the conclusion that those functions would better serve you in […]