Applies to Pester 3.4.0 Like any Windows PowerShell script, a script that contains Pester tests can include parameters. It’s easy enough to run the script and pass parameters and values in the usual way. But, when you use Invoke-Pester to run the script, you need to pass the parameters in a hash table. This blog […]
Category: General
Using Bash with PrimalScript 2016
I have been asked a few times now to use Bash with PrimalScript. It doesn’t have all the setup for it out of the box because there are a few different implementations of Bash available for Windows. If you followed the latest news, Microsoft has announced at the BUILD 2016 keynote that Bash will become […]
GitHub: Tell Git to ignore files
This post demonstrates how to use ‘exclude’ and .gitignore files to exclude files from your GitHub repos, including the backup files that PowerShell Studio creates. Both are text files, but a .gitignore file is part of your repo, so it’s versioned and shared. The ‘exclude’ file is private to your clone on disk; it’s not […]
Which versions of PowerShell do you run?
The PowerShell team released Windows PowerShell 5.0 on Windows 10 last year and just re-released Windows Management Framework (WMF) 5.0 for earlier versions of Windows. But, we know from years of experience that many people don’t upgrade their versions quickly. It takes time to get to know and trust a new version. In a large enterprise, it […]
New PowerShell Reference Tool
SAPIEN Technologies, Inc. is pleased to introduce our new online Windows PowerShell Reference tool, which is based on the reference section of iPowerShell Pro. To find it, on the SAPIEN web page, click Support and then click PowerShell Reference. Or, go directly to https://www.sapien.com/powershell. PowerShell Reference contains help for Windows PowerShell and PowerShell modules. This […]
Update-Module 5.0 adds, not updates
Applies to: — Windows PowerShell 5.0.10586.63 — PowerShellGet 1.0.0.1 I’m a huge fan of sharing Windows PowerShell modules and making them easy to find (Find-Module), view (Save-Module), and install (Install-Module). So, I truly love the new PowerShellGet module. However, you really need to understand how it works before you use it. Otherwise, you might end up […]
Using Prefixes to Prevent Command Name Collision
In January, I had the honor of presenting to the Mississippi PowerShell User Group (MSPSUG). I’ve known the organizers, Mike Robbins and Rohn Edwards for years, and truly respect them. The PSUG is online-only, which makes it a challenge for presenters, but they attract a very sophisticated audience, so my talks there are really conversations. […]
It’s a weekend celebration!
We’re kicking of this year’s sales with a weekend celebration event! This weekend we celebrate love and all of the U.S. presidents, past and present, with an opportunity to save. Take 20% off your entire software purchase now through February 15th. This includes all new license purchases and active software subscription renewals. Head on over […]
Using Group-Object to Detect Command Name Conflicts
The Group-Object cmdlet, one of the original provider cmdlets, is as old as Windows PowerShell. It was introduced in version 1.0 and hasn’t changed at all since then. But, it is one of my favorites. (You can tell when I love a cmdlet by the number of examples. Group-Object has 9!) In fact, when you use it […]
Congratulations to SAPIEN MVPs 2016
Many people think of Most Valuable Professionals (MVPs) as being technical stars in their disciplines. And, that’s true. But, at SAPIEN Technologies, Inc., our MVPs are really an extension of our technical team. We rely on them for early and actionable feedback on products, for technical assistance, and for helping us to demonstrate how to […]