After many years of writing scripts for the Windows PowerShell console, I’m now learning the next level of automation — writing GUI applications that run Windows PowerShell commands. PowerShell Studio forms provide a gentle and well-guided introduction to GUI applications, but it’s still taken me some time to break old habits. I constantly need to […]
Category: Software News
PowerShell Studio Templates : Get a head start on your scripts
When you open a new script file (.ps1) in PowerShell Studio 2014, you don’t get a blank page, at least by default. Instead, the page begins with a comment block, like this one: <# .NOTES =========================================================================== Created with: SAPIEN Technologies, Inc., PowerShell Studio 2014 v4.1.74 Created on: 11/5/2014 4:28 PM Created by: juneb Organization: SAPIEN […]
Throwback Thursday: Making batch files into executables
PrimalScript 2014 can make a variety of script files into executable files. We call that packaging. This feature is mostly used by VBScript and PowerShell administrators to wrap their scripts into an executable file that can be shipped to end users and prevent prying eyes from seeing what makes the magic happen. For the aforementioned […]
Accessing VersionRecall repositories from another computer
Whether you are getting a new computer or another person joins your team, getting everything set up in a new environment can be a time consuming task. VersionRecall 2014 can help to make this easier. If you have your scripts and related files connected to a VersionRecall repository, you can very easily transfer those files […]
Run Selection v. Run Selection in Console
PowerShell Studio is full of features and options. As a new user, I’m trying to learn as many as I can. There are four options in the Run menu, so, of course, I tried them all. But the result was unexpected. Run and Run Selection run your code and show the result in […]
Expand All Aliases: Ctrl+Shift+A
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 […]
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 […]
WMI Explorer 2014 Service build 2.0.47
Our WMI Explorer 2014 gets a minor update with build 2.0.47. The new Server dialog lets you edit settings after the fact, for example when the password changes. You may notice the new “Root” field in the settings dialog, which is now also present in the initial dialog when connecting to a new computer. If […]
Comment it out!
Today, I was experimenting with hash tables that had keys with multiple values. (More about that later!) But, in the course of my experimentation, I tried one technique and then another and then another. I didn’t want to delete any of my trial code, but I also didn’t want it to run. I just wanted […]
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 […]