Blog

Adding auto-complete to an input textbox

April 6th, 2015 by June Blender
Follow @juneb_get_help Well-designed user interfaces make it as easy as possible for the user to enter the right input in the right format. One of the most effective ways to help a user is to provide suggested input or automatically complete the input that the user begins to type. As a UI newbie, I thought that implementing a sophisticated feature like auto-complete was going to be very difficult, but I was surprised at how very easy this task is in PowerShell Studio. Honestly, I set aside a week to do this and it took me 10 minutes – 30 minutes…   More »

Advanced Help for Advanced Functions – #PSBlogWeek

April 3rd, 2015 by June Blender
Follow @juneb_get_help Writing help is often the last thing you do for an advanced function. But, instead of treating it as a disposable chore, write your help first -- in advance -- before you write your advanced function. Then, use the help as a design specification. The result is a better designed function and a better user experience. If you're using a test framework, like Pester, you can also use your help examples as test cases. In this post, I'll write help for the New-ValidationDynamicParam function that Adam Bertram (@adbertram) shares in #PSBloggingWeek – Dynamic Parameters and Parameter Validation. But…   More »

Writing XML Help for Advanced Functions

April 1st, 2015 by June Blender
Follow @juneb_get_help The introduction of SAPIEN PowerShell HelpWriter has made writing XML help files as easy – actually easier – than writing comment-based help. XML help is more robust and less error-prone than comment-based help. It supports updatable help and help in multiple languages, and it lets you separate help files from script and modules files, which is a real advantage when you're working with many people in a shared coding environment, like GitHub. PowerShell HelpWriter makes it easy to create XML help files for all commands in a module, including the functions in a manifest module or script module:…   More »

Employment Opportunity: Jr. Software Test Engineer

March 30th, 2015 by June Alane Reif
To apply, send your resume and a cover letter that lists your qualifications to jobs@sapien.com. No phone calls, please. Job Description: Looking for a highly motivated Jr. Software Test Engineer to contribute to a growing team of Microsoft Windows application developers. Candidates must demonstrate the ability to think creatively and work productively in a team environment. Tasks include developing testing scenarios, executing tests, and interpreting and reporting results. We are looking for someone who has a sense of urgency and drive in everything they do, with a demonstrated ability to deliver a complete, working solution within specified deadlines. Responsibilities Include: Test installation of company software on…   More »

Supporting Multiple PowerShell Versions

March 25th, 2015 by David Corrales
As you may know both PowerShell Studio and PrimalScript support multiple versions of Windows PowerShell and allow you to switch between versions depending on what versions of PowerShell are installed. Supported Windows PowerShell Versions: V2, V3, V4 Note: V5 will be officially supported after its release. We do not offer support for preview versions. Side by Side Installations: Windows PowerShell V2 is the only version that can be installed side by side with the newer versions of Windows PowerShell. After Windows PowerShell V3 each new version replaces the previous iterations. Note on Packaging Platforms: When working with our Script Packager,…   More »

New SAPIEN Update tool integrated into all 2015 products

March 23rd, 2015 by Alex Riedel
With the release of the latest versions of the 2015 SAPIEN products we also integrated a new update tool. This new version will check for updates on all licensed and unexpired trial version of our products. It can download and install the updated versions without you going to your accounts page. If you need to roll out updates to multiple machines, you can use the “Download only” button to get the checked updates downloaded to your Windows downloads folder. You can then manually install the updates as needed. The new update tool also shows a brief synopsis of what…   More »

What’s new in PrimalScript 2015?

March 19th, 2015 by Alex Riedel
Our 2015 versions have been out for a while and most of you already know about some of the new features. But we want to make sure you don’t miss anything, so here is a brief recap. PrimalScript 2015 now has a PowerShell dialog editor If you create graphical user interfaces (GUI) in PowerShell all the time, you probably already have SAPIEN PowerShell Studio. But if you just want to create a dialog here or there to prompt for some user input or display a particular piece of data as output, you do not need to create full-fledged event driven…   More »

Hidden … sort of: The Hidden Keyword in Windows PowerShell 5.0 Preview

March 18th, 2015 by June Blender
Follow @juneb_get_help The Hidden keyword hides properties and methods (and other members, like events) in a scripted class. When a member is hidden, you can still view and change it, but the Get-Member cmdlet doesn't display it without the Force parameter and the hidden members are not available to auto-completion features, such as PrimalSense and IntelliSense. You can apply the Hidden keyword to any member (property, method, event, etc), including static members. It is not case sensitive and it can appear anywhere in the member signature before the member name. As a best practice, I suggest placing it first to…   More »

PowerShell Studio: Knowing when to use STA mode

March 9th, 2015 by David Corrales
Follow @SAPIENDavid Recently, on our forums, a user asked why certain controls didn’t function correctly or threw an error when he unchecked the STA option in PowerShell Studio. STA (Single Threaded Apartment) and MTA (Multi-Threaded Apartment) determine how a process manages legacy COM objects and their communication with multiple threads. I will not go into the detail, but you need not concern yourself with the inner workings of COM objects, other than to remember that STA is required for some of the GUI controls to function correctly. If you're interested in the details, see Processes, Threads, and Apartments in the…   More »

Give us your real email address

February 24th, 2015 by June Blender
We're all justifiably nervous about privacy, both online and offline. We're also trained to avoid advertising mailing lists, lest they fill our inbox with today's latest sale on something we didn't want in the first place. To dodge the ads, we often provide phony personal data, including phony email addresses, or email addresses to accounts that we never check.   But, when you buy  professional software tools, especially those with a service or subscription model, it's critical to provide accurate contact information. This allows us to remind you when your service contract or subscription is due to expire and to…   More »