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 […]

Read More

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 […]

Read More

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 […]

Read More

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 […]

Read More

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 […]

Read More

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 […]

Read More

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 […]

Read More

Search

Enter any query and press enter
Advanced search operators:
+ ⟶ Term must appear
- ⟶ Term must not appear
"" ⟶ Exact string must appear
How do I use these?

Join our mailing list

Enter your email address to subscribe to our mailing lists for Monthly Blog Digests, Product Announcements and more (you can choose which you receive once you sign-up!)

Tags

Categories

Archives

Dashboard