Today we released a new build of PowerShell Studio 2017 (v5.4.137). In this build we added a number of new features, including some user requests, and made some improvements on existing features. New Features Git Ignore Filter for Projects For those of you who use Git, we added a new option to project creation […]
Friday Puzzle Solution: Write a Map Function for PowerShell
On Friday, February 24, 2017, I posted the following puzzle on Twitter and Facebook (and here!). We provide a Pester test script and a script with detailed help but no code, and you add the code to the script to make the tests pass. Special thanks to Andy Cahn at Chrysalis School in Seattle for […]
Enabling deep script block logging
As of the KB3000850 update and PowerShell 5.0, PowerShell has included script block logging so that admins would have more tools for the blue team side of pen testing. If you’re unfamiliar or have never heard of it before, I recommend giving this blog post a read. Not only does the post describe what script […]
PowerShell HelpWriter 2017: Service Release v2.1.34
Today we released a new build of PowerShell HelpWriter 2017 (v2.1.34). In this article, we will discuss the new features introduced in this build. Note: If you previously tried to generate help for a module and got an “Operation is not valid due to the current state of the object.” error, please update to […]
PowerShell Studio 2017: Service Release v5.4.136
Today we released a new build of PowerShell Studio 2017 (v5.4.136). In this build, we went down the list and implemented several user-requested features. General Features: Forwards and Backwards Navigation We had several user requests for this feature. The new navigation feature allows you to jump back to previously visited documents or previous […]
Friday Puzzle Solution: Why doesn’t Verbose work?
On Friday, February 17, 2017, I posted the following puzzle on Twitter and Facebook (and here!). It shows a PowerShell function with a Write-Verbose command and asks “Why won’t this verbose string print?” You might think of this as a beginner puzzle, but after years of using PowerShell, I still hit this issue occasionally, and […]
Friday Puzzle Solution: What does Return keyword return?
On Friday, February 3, we posted a Friday Puzzle that shows a PowerShell function and a PowerShell class method that contain the same command sequence, including a statement with the Return keyword. The puzzle asks: What does the function return? What does the class method return? And, of course, we want to understand why. To […]
SAPIEN Information Center – Articles you may have missed
Have you been keeping an eye on the SAPIEN Information Center? If not, here are some articles you may have missed! Rebuild in PowerShell HelpWriter: Two ways to update help from code by June Blender, January 31, 2017 The Rebuild feature creates a new XML help file for an existing help project. You use the […]
PowerShell HelpWriter 2017: Service Release v2.1.33 Plus Markdown
Today we released a new build of PowerShell HelpWriter 2017 (v2.1.33). In this article, we will discuss the new features introduced in this build. Exporting Help We added the ability to export the help files into two useful file formats: Markdown HTML To export your help files, use the Ribbon menu: Ribbon->Home->Export We introduced […]
Friday Puzzle: Why doesn’t Include include?
On Friday, January 20, 2017, I posted the following puzzle on Twitter and Facebook (and here!). It shows a Get-ChildItem command where the value of the Path parameter is $PSHome, the Windows PowerShell installation directory, and the value of the Include parameter is ‘*ps1xml.’ The command returns nothing — not a single file — even […]