Which Version Does Import-Module Import?

July 13th, 2016 by June Blender
Applies to: Windows PowerShell 5.0.10586, 5.1.14385.0, PowerShellGet 1.0.0.1 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 »

Two-Day Sale Event

July 1st, 2016 by Lanae Dale
Happy Fourth of July!  For two days only, July 4th and July 5th, join us as we celebrate Independence Day and take 25% off your total software purchase through our on-line store.  This includes all new license, renewals, and reinstatement purchases!  This is also good on upgrades from active subscriptions of PowerShell Studio 2016 and PrimalScript 2016 to our SAPIEN Software Suite 2016.   Click here starting no earlier than Monday, July 4th, 2016 (PDT), to visit our store and use the discount code RWB04 upon checkout to save!   Restrictions: This offer is valid only on July 4th, 2016 (12:00…   More »

What I Learned at IT Pro Camp

July 1st, 2016 by June Blender
What a free day of learning can do for a community. ------------------------------ You need to meet Sidney Moore. Really. You might know Jeffrey Snover or Bruce Payette or Ed Wilson. But, you need to meet Sidney Moore. Because Sid is one of the most dedicated and passionate advocates for PowerShell learners that I've met. Sid works in IT for Bank of America in Jacksonville, Florida, a hot and humid spot that is, nevertheless, home to a growing IT industry. A few years back, worried that IT operations techs would become obsolete, he dedicated himself not only to learning PowerShell, but…   More »

Using a ModuleSpecification Object

June 27th, 2016 by June Blender
With the advent of side-by-side module versions in Windows PowerShell 5.0, the lovely, but obscure ModuleSpecification object has become your new best friend. Use it to make sure that the commands and module that you use are the ones that you intend. Using ModuleSpecification Let's start with an example. I want to get the Expand-Archive command in the Microsoft.PowerShell.Archive cmdlet. I can use Get-Command, of course, but when I surround the command name with wildcard characters to make sure it searches, it returns this: PS C:\ > Get-Command *Expand-Archive* CommandType Name Version Source ----------- ---- ------- ------ Function Expand-Archive 1.0.0.0…   More »

Testing Pester Code Coverage

June 24th, 2016 by June Blender
Applies to: PowerShell 5.0.10586.122, 5.1.14367, Pester 3.4.0 I'm one of those people who thinks a score of 99% is failing, so I love to see those 100% scores when I use the CodeCoverage parameter of Invoke-Pester. But, while assembling my Pester presentations for DevOps Global Summit 2016 and PowerShell Conference Europe 2016, I realized the 100% code coverage score means that 100% of my code (every line) ran during the test. It doesn't mean that 100% of my code is tested. Code coverage reports are really valuable, but you need to understand what they test and how to use them.…   More »

Job Opening: C# Developer at SAPIEN

June 22nd, 2016 by June Blender
Read our job posting: C# Developer One of the best things you can do for your career is to keep it continually challenging. Never be the smartest person at work. Never be the most experienced. Never watch the industry progress while leaving you behind. Never continue doing it the way you’ve always done it. If you’re looking for something new and challenging, consider joining SAPIEN Technologies, Inc., a small, agile software company that is continually improving to stay at the edge of the technology curve. SAPIEN Technologies, Inc. currently has a job opening for a Windows software developer in our…   More »

Which PowerShell Versions are Users Running?

June 20th, 2016 by June Blender
In March 2016, SAPIEN Technologies, Inc. posted a survey asking users and administrators which versions of Windows PowerShell they're running. We got 148 responses by the April 8 when we closed the survey. This blog post reports the findings. While reading them, please keep in mind that this is not a statistically valid survey. We didn't select users or control for anything. Still, I did not expect these results. I might be a bit naïve about enterprise computing, but I'm surprised by the widespread adoption of Windows PowerShell 4.0 and 5.0. My sense is that the community moved much more…   More »