Posts Tagged ‘Function builder’


PrimalScript 2015 build 7.1.70 adds PowerShell parameter editing and code formatting

Monday, October 19th, 2015 by Alex Riedel
With service build 7.1.70 we add some additional PowerShell functionality to PrimalScript 2015. We added a user interface to edit or add parameters for your script and we slightly modified the ribbon “Edit” group to make these new items more accessible. Aside from editing the parameters of your script we also make the PowerShell function builder / editor more accessible and added the script formatter from PowerShell Studio. However, as opposed to PowerShell Studio the script formatting in PrimalScript is purely on demand. So unless you select this function the formatting of your script will not change. A new options…   More »

PowerShell Studio 2015 – Editing Script Parameters

Thursday, May 14th, 2015 by David Corrales
If you have used PowerShell Studio’s Function Builder chances are probably you wished it could edit your script parameters. Now it can. With the v4.2.85 service release of PowerShell Studio 2015 we introduced the new Parameter Builder. Parameter Builder: Those familiar with the Function Builder will recognize the similarities between the two tools, with the exception of the Name portion of the builder. Otherwise the Parameter Builder and the Function Builder share the same functionality. You can use the Parameter Builder to insert a new parameter block or edit existing script parameters. You can access the Parameter Builder using the…   More »

PowerShell Studio 2014: More Function Builder Updates

Monday, October 13th, 2014 by David Corrales
Yes, we updated the Function Builder yet again! We just released a new build of PowerShell Studio 2014 (v4.1.72). We wanted to highlight some changes and additions:   Function Validation The Function Builder will now validate your function names by checking if it already exists in your script, thus preventing duplicate functions.   Create Functions from selection If you select a section of script when inserting a new function, the Function Builder will use the selected text as the body of the function. In addition, the function builder will pick potential parameters and present you with the following dialog: In…   More »

Adding Parameter Sets to a Function

Thursday, October 2nd, 2014 by June Blender
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 new Function Editor in PowerShell Studio 2014. I’m not just playing in a GUI. I’ve automated the command line. ------ When I write functions, I often start with the basic command – the one that makes the function work – and then build in features.…   More »

PowerShell Studio 2014: Editing Functions

Tuesday, September 30th, 2014 by David Corrales
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 following methods: 1. Using the new Functions menu in the updated ribbon: 2. Use the editor’s context menu: 3. Press (Ctrl + Shift + Alt+ E) using the keyboard. 4. Use the Functions explorer: We added a toolbar to the Function Builder so you can…   More »

PowerShell Studio 2014: Improved Function Builder

Wednesday, August 27th, 2014 by David Corrales
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 hover or click on a question mark, a help message will popup explaining the respective field. Parameter Sets The Parameter Set field has been expanded to include an Output Type. Now you can specify an optional output type for each parameter set you define. When…   More »

PowerShell Studio 2014: Function Builder

Thursday, April 24th, 2014 by David Corrales
PowerShell Studio 2014 introduces a quick and easy way to create complex functions using the new Function Builder: Let’s cover each field of the Function Builder and how to create a function. Cmdlet Name The function builder provides you with a verb and noun field. The verb field contains a combo box with a list of approved verbs, but you have the option to enter your own unapproved verb if necessary. Synopsis & Description You have the option to enter a quick synopsis and a longer description using these fields. The information provided here will be used to generate the…   More »