Windows PowerShell aliases are very handy. They typically have fewer characters than the commands and parameters that they represent, so they’re quicker to type and great for tweeting. However, it has long been an established best practice that aliases should not be used in blogs, in help, in examples, or in any shared scripts and […]
Category: Windows PowerShell
A Better ToString() Method for Hash Tables
I didn’t make it to the PowerShell Summit 2014 in Europe this year, but I’ve been getting much of the benefit by watching the Summit presentations on YouTube. After watching Windows PowerShell MVP Bartek Bielawski’s excellent presentation, in which he reviews PSCustomObjects and dynamic type data, I was inspired to fix a shortcoming in the […]
PowerShell Studio: Form and Script Recovery
Once in a while our support team gets a request to recover a script from a packaged executable because the original was lost. In fact this just happened recently when a user contacted us to recover his lost form project from his packaged script. We were able to recover the script, but unfortunately the user […]
Delete Desktop Icons: A Windows PowerShell Tip
I’m a rather geeky type person with a passion for clean desktops. My physical desktop is always pretty clean and I like my computer desktops to be clean, too. I don’t like anything on my desktop, including icons, especially on Windows 8.1, Server 2012 R2, and later, with their Start screen and taskbar. (I make […]
PowerShell Studio 2014: Refactoring and Other Updates
In the last PowerShell Studio article, we spoke about the updates to the Function Builder in the v4.1.72 service build. Now we will discuss the other updates in the v4.1.72 build. Improved Rename Refactoring – We greatly improved the Refactoring speed when renaming variables and parameters. – Refactoring now takes splatting into account when […]
PowerShell Studio 2014: More Function Builder Updates
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 […]
The PassThru Parameter: Gimme Output
I love to explain things in clear, simple terms. So, a few weeks ago, I tweeted a request for a Windows PowerShell concept that could use more explanation. Andy Fair (@ravensportal) from Oklahoma City asked for a clear explanation of the PassThru parameter. PassThru is frequently used and frequently ignored, so I’m taking him up […]
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 […]
June Blender Joins SAPIEN
For Immediate Release October 1, 2014 Contact: Ferdinand G. Rios, CEO, frios@sapien.com June Blender joins SAPIEN Technologies, Inc. Napa, California— October 1, 2014 — SAPIEN Technologies, Inc. is pleased to announce that June Blender is joining their staff as a Technology Evangelist effective today. June will be supporting the SAPIEN customer community with writing, blogging, […]
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 […]