New Keyboard Shortcuts in PowerShell Studio 2016

September 8th, 2016 by June Blender
The newest version of PowerShell Studio, 5.2.128, includes some nice updates, additions, and fixes, but I wanted to call your attention to the change in our keyboard shortcuts. We've updated them to simplify the most frequently used shortcuts and to make our shortcuts consistent with other Windows tools. Special thanks to our Wish List contributors for their suggestions. If you are using a keyboard shortcut program or you have a programmable keyboard or input device, you might need to adjust your settings. Find / Replace Ctrl + F or Ctrl + H Run Selection in Console F8 Run in Console…   More »

Enable WMI Explorer Remote Connection Permissions

September 7th, 2016 by Devin Leaman
One of my first tasks, after I was hired at SAPIEN, was to figure out why users couldn’t view WMI classes on remote computers and turn the solution into an easy-to-follow blog post. After completing that, I had to turn it into a script so that it was even easier to set up. Although I managed to complete the script, there was the catch that it worked only on Windows 8. I couldn’t figure out why it wasn’t working on Windows 10. With the help of a couple of SAPIEN MVPs (thanks, Mike and James!), I’m happy to share that…   More »

September Online Savings

September 1st, 2016 by Lanae Dale
The month of September equals free maintenance extensions for all online, new license purchases! We just weren't ready to end our 30 year celebration!  Starting today and going through September 30th, 2016, get an additional 6 months of maintenance for free when you purchase a new license directly from our SAPIEN On-Line Store at MSRP price.  You will get a total of 18 months of maintenance tied to your subscription, in terms of all service builds and major product releases, instead of our regularly offered 12 months.  Buy now and you won’t have to worry about renewing until April 1st, of 2018!…   More »

Setting up PowerShell on your Mac (Update!)

August 19th, 2016 by Ferdinand Rios
Now that PowerShell is available on the Mac, we thought it would be useful to show how easy it is to setup a Mac terminal session that automatically opens into PowerShell. Figure 1 shows what we mean. [caption id="attachment_12634" align="aligncenter" width="1130"] Figure 1 - PowerShell Terminal Session[/caption] First you need to download the PowerShell macOS package from here (look for the Get PowerShell section in the README.md) and install it using the directions found here . Once PowerShell is installed and running on your system, follow the instructions below to set up your PowerShell terminal Here are the steps to follow: Open Terminal on…   More »

HelpUri v. HelpInfoUri

August 16th, 2016 by June Blender
Although the names are similar and often confused, these properties are different. If you confuse them, the help for your PowerShell commands and modules won't work. The HelpUri property stores the URL (http or https) of online help for a command. It's a property of commands (cmdlets, functions, workflows). When a user runs Get-Help -Online, Get-Help opens the default browser to the HelpUri property value. The HelpInfoUri property of modules stores the URL of the online location of the HelpInfo XML file that enables updatable help for the module. In fact, a non-null value of HelpInfoUri indicates that the module…   More »

Celebrating 30 Years

August 15th, 2016 by Lanae Dale
Today, SAPIEN Technologies, Inc. celebrates a milestone; Thirty years in business.  As we reminisce on all of the years leading up to this point, we want to send a special thank you to all of our loyal customers, past, present, and future, who we would not be here today without.   For one full week, starting now, please join us in celebrating with 30% off your entire software purchase.  This includes all new license purchases and eligible renewals and reinstatements.  There are two ways to obtain your discount:  Directly through our on-line store using the discount code 30YEARS, OR via Purchase Order to…   More »

iPowerShell Changes: New platforms! Now FREE!

August 9th, 2016 by Ferdinand Rios
  iPowerShell, our little iOS app, has come a long way over the years. It started out as simply a reference tool for PowerShell cmdlets, about_help and provider help. Over the years, we added YouTube videos, PowerShell Twitter posts, PowerShell Web Access, remote connectivity with PSWA and SSH, and a color coded editor. Today we announce iPowerShell for the Mac! This is a desktop application with most of the major features of its mobile sibling (we have not yet implemented the script editor). With this desktop application, admins can use their Macs to connect to PowerShell either through PSWA or…   More »

Writing Help for Dynamic Parameters

August 8th, 2016 by June Blender
Because dynamic parameters can be added to a command from multiple sources, the command author (who writes the help) cannot predict the dynamic parameters that might be available at runtime. Therefore, Get-Help expects dynamic parameters to be documented in the help file for the code that adds the dynamic parameters; not the code that has the dynamic parameters. This makes sense in theory, but, in practice, it's not discoverable and it's very confusing for users. To write help for the dynamic parameters that you add to cmdlets and functions, you need to sneak it into the description. I'll show you…   More »

Starting a PowerShell User Group: An interview with Gary Barnes

August 1st, 2016 by June Blender
Have you ever wondered what it would be like to start a PowerShell user group? I did an interview with Gary Barnes, Software Development Engineer in Test, Portland, Oregon, who just started PDX PowerShell (@PDXPoShPUG), a PowerShell user group for Portland, OR, USA, and its suburbs, including Vancouver, WA. He has lots of great insights. ------------------------------------- User groups are an incredible vehicle for learning, whether you're a beginner who needs mentoring and support, an expert who needs to know about cutting edge techniques, or just a diehard who loves to learn. They provide expertise, knowledge, challenges, and the sense of…   More »

How Do Multi-Form Projects Work?

July 28th, 2016 by June Blender
Applies to: PowerShell Studio 2016, Windows PowerShell 3.0+ I recently wrote an article with step-by-step instructions for creating a very simple multi-form PowerShell GUI application. In our sample app, we use PowerShell Studio features that make it very easy to open a child form from the main form and gets the text in the textbox on the child form. In this article, I'll explain what goes on in the background to make these features work. You might not care -- just so they work -- and that's fine. But if you're wondering how this happens, or you need to debug…   More »