Blog

Creating a GUI for CSV Data

January 19th, 2015 by June Blender
Follow @juneb_get_help I often manage data in CSV files, typically data that originates in an Excel spreadsheet. The Import-Csv cmdlet, which creates custom objects from the contents of a CSV file, makes CSV data an optimal choice in Windows PowerShell. But, how do you manage CSV data in a Windows UI? PowerShell Studio offers several options. In this post, I'll cover data in Out-GridView, a single Textbox, a collection of Textbox objects, and a DataGridView. [Thanks to Joel Ivarsson for suggesting the post topic. If you have a topic suggestion, send me an email at juneb@sapien.com.] Use Out-GridView One of…   More »

SAPIEN Technologies MVPs for 2015 (Wave #2)

January 16th, 2015 by June Blender
  SAPIEN Technologies, Inc. is proud to announce its second wave of MVPs for 2015. SAPIEN Most Valuable Professional (MVP) award. It's our way to recognize and show our appreciation for community members who promote our products and contribute to their improvement and success.     Congratulations to the second wave of SAPIEN Technologies MVPs for 2015: Francois-Xavier Cat (Canada) has written dozens of useful blog posts and many excellent videos about creating effective PowerShell-based UIs with PowerShell Studio. He's also provided very helpful feedback on products and usability. Vinith Menon (India)  answers questions on the SAPIEN forums and blogs about…   More »

Manage Errors in a GUI Application

January 15th, 2015 by June Blender
Follow @juneb_get_help In a previous post, I talked about displaying output in a GUI application. But I really covered only the primary output of cmdlets. In this post, we'll discuss some very basic strategies for detecting and displaying terminating and non-terminating errors in a GUI application. This is a critical topic. If you're used to scripting in the console, errors are displayed automatically. But, in a GUI program, you manage the output -- all of it. And nothing appears in your application window unless you place it there explicitly. Your application's response to an error can be as varied as…   More »

SAPIEN Technologies MVPs for 2015

January 14th, 2015 by June Blender
  SAPIEN Technologies, Inc. is proud to announce its first wave of MVPs for 2015. SAPIEN Most Valuable Professional (MVP) award. It's our way to recognize and show our appreciation for community members who promote our products and contribute to their improvement and success.     Congratulations to the first wave of SAPIEN Technologies MVPs for 2015: Jason Helmick co-authored SAPIEN's Windows PowerShell TFM, 4th Edition Mike F. Robbins co-authored SAPIEN's Windows PowerShell TFM, 4th Edition Max Trinidad, a veteran user of SAPIEN products, features PowerShell Studio in videos and presentations all over the world. James Vierra is a…   More »

SAPIEN MVP Program

January 6th, 2015 by June Blender
  SAPIEN Technologies, Inc. is proud to announce the introduction of the SAPIEN Most Valuable Professional (MVP) award. It's our way to recognize and show our appreciation for community members who promote our products and contribute to their improvement and success.       How do I become a SAPIEN MVP? SAPIEN MVP candidates submit can an application listing actions that demonstrate that they fulfill the requirements. Current SAPIEN MVPs can submit an application on behalf of any candidate.   Requirements for a SAPIEN MVP Award Demonstrates a continuing contribution to SAPIEN products through blog posts and forums, product…   More »

Enumerated Types in Windows PowerShell 5.0

January 5th, 2015 by June Blender
Follow @juneb_get_help [Update: The original post referred to "enums" as "enumerators" when, in fact, they are "enumerated types." By contrast, enumerators allow you to process items one at a time. Many thanks to Windows PowerShell MVP Dave Wyatt (@msh_Dave) for the correction.] Enums have always been a part of Windows PowerShell, because they're an important part of the .NET Framework. But they're about to become even more popular, because changes in Windows PowerShell 5.0 make them very easy to create. ----------- Enumerated types ("enums") define a set of values, knows as "members" of the enum. You use enums to create a set…   More »

Find variables with class

December 24th, 2014 by June Blender
Follow @juneb_get_help I've been playing with the Windows PowerShell 5.0 preview and especially with its new class feature. After I create my class, I often create several instances of the class and experiment with them in my session. For example, I created a Wine class and then created several instances of my wine class. I saved each Wine instance in a variable. $PSWine = [Wine]::new("PSCabernet") $Shiraz = [Wine]::new() ... After playing with the instances for a while (and enjoying a few sips of PSWine), I couldn't remember all of the Wine objects that I'd created in my session. They were…   More »

SAPIEN Ignite Conference Pass Award for Women in PowerShell

December 18th, 2014 by June Blender
SAPIEN Technologies, Inc., developer of PowerShell Studio and Primal Script, will award a full conference pass for Microsoft Ignite 2015 to a woman in the Windows PowerShell community. SAPIEN encourages other Ignite participants to match this award and support the attendance of technical women at IT and developer conferences. ------- We've all been to the technical conferences with thousands of men and just a sprinkling of women. The dearth of women in computer technology seems to hit IT professionals hardest when it comes to conference time. There are many women speakers, but just a few women in the audience. Women are particularly…   More »

Displaying Output in a GUI Application

December 15th, 2014 by June Blender
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 remind myself that things that "just work" in the console don't make any sense in a GUI. Writing output is one of them. Writing Output to the Console When you generate output in the Windows PowerShell console, the output appears as text strings in the…   More »

2012 License Holders, This One’s For You!

December 11th, 2014 by Lanae Dale
Are you in possession of a 2012 product license key?  There are now just shy of three weeks left to upgrade to our new Subscription Model and take advantage of the discounted upgrade pricing.  Once our 2015 versions are released, upgrade pricing will no longer apply and you will be subject to full MSRP pricing on our new versions. But wait!  Upgrade now and receive an additional 10% off the already discounted upgrade pricing.  Each license upgrade comes with a year of free maintenance, in terms of all major builds and product releases.  Yes, you read that right; when…   More »