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 »

Write a Multi-Form PowerShell GUI App

July 26th, 2016 by June Blender
Tested on: PowerShell 2.0+, PowerShell Studio 2016 This step-by-step example shows you how to create a very simple multi-form PowerShell GUI app. The app consists of a parent form that gets data from a child form and displays it. When you finish, you'll know how to use the basic multi-form features of PowerShell Studio. For details about how these features work under the covers, see How Do Multi-Form Projects Work? For this task, we assume that you know how to create a single-form PowerShell GUI app or that you've participated in a Thinking in Events hands-on lab. Otherwise, start with…   More »

PowerShell Studio 2016 – Service Release v5.2.125

July 25th, 2016 by David Corrales
We released a new service build of PowerShell Studio 2016 (v5.2.125)!   Here’s what’s new:   Blocked Files PowerShell Studio will now notify you when a script file is blocked. Windows flags files as blocked when downloaded from the internet or copied from a remote computer.   PowerShell Studio disables execution of blocked files for your security. When you wish to run the script, unblock the file using the file tab’s context menu:     Open with PrimalXML You can now open XML files directly in PrimalXML from the project panel using the context menu: You can also open help…   More »

Which Version Does Import-Module Import?

July 13th, 2016 by June Blender
Applies to: Windows PowerShell 5.0.10586, 5.1.14385.0, PowerShellGet The Import-Module cmdlet, the #Requires directive, and module auto-loading (PS 3.0+) all import modules into a PowerShell session. But, which modules do they import by default? It's an important question when you are writing shared code that uses commands from other modules. And, the answer has become more complex with the advent of side-by-side versioning in PowerShell 5.0. Read the full post in the SAPIEN Information Center.   June Blender is a technology evangelist at SAPIEN Technologies, Inc. and a Windows PowerShell MVP. You can reach her at juneb@sapien.com or follow her…   More »

Introducing the SAPIEN Information Center

July 12th, 2016 by June Alane Reif
Over the years, the articles in this blog have grown extensively. There's a lot of valuable information in here, but it's become hard to find because it's mixed in with various tour announcements, special offers, conference recaps, and the like. So, we have decided to pull the important articles and place them—along with information relevant to PowerShell and scripting—in a more organized and easily searchable venue. We are proud to introduce the SAPIEN Information Center. The most recent articles are always highlighted in a list on the left side of the window. The SAPIEN Information Center currently has the following…   More »

PrimalScript 2016 service build adds CPU and memory performance graphs

July 7th, 2016 by Alex Riedel
The latest service build of PrimalScript 2016 (7.2.91) adds performance graphs for your scripts. To enable this feature you just need to make the “Performance” tab visible before you execute your script. Performance data can be collected on any script run from within PrimalScript as long as you enabled output redirection. That means this applies to PowerShell, VBScript, Perl or any other script that you run from within PrimalScript. The output window will also display the peak values during the execution of your script when it finishes. Since collecting this data while executing your script obviously adds additional CPU and…   More »

PowerShell Studio 2016 – Service Release & High DPI Support

July 5th, 2016 by David Corrales
We released a new service build of PowerShell Studio 2016 (v5.2.124)!   Here’s what’s new: High DPI Support We have added high DPI support to PowerShell Studio’s UI. Those of you who previously ran PowerShell Studio on a high DPI monitor (Windows 10 in particular) probably noticed that the application appeared fuzzy. The fuzzy appearance is caused by Windows’ scaling of non-DPI aware applications. The good news is that this no longer the case with PowerShell Studio 2016. Not DPI Aware DPI Aware High DPI Layouts With high DPI screens, you will require high DPI layouts. When PowerShell Studio detects…   More »