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 […]
Tag: powershell
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 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: 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 […]
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 […]
PowerShell HelpWriter 2017: What’s New? (Part 2)
We’ve written a series of blog posts to introduce you to the newest features of the product and in this release, we made major changes to PowerShell HelpWriter. In Part 1, we looked at the new UI changes to the designer and the editor. In Part 2, we are looking at the new project feature […]
From regular user to elevated administrator…
This is a question that comes up fairly often in our support forums, so I thought I would post a quick overview. The scenario is that an admin wants to package his script as an executable to allow regular users to accomplish some type of task, which requires full administrative privileges. Since Windows Vista, […]
PowerShell Studio 2017: What’s New?
PowerShell Studio 2017 is released! PowerShell Studio 2017 is included as part of the regular update cycle for our subscribers. What’s New? In this article, we will introduce you to the new additions and changes in this release. As you know we don’t hold back major features just for major releases, for example we […]
PowerShell HelpWriter 2017: What’s New? (Part 1)
PowerShell HelpWriter 2017 is released! PowerShell HelpWriter 2017 is included as part of the regular update cycle for our subscribers. We’ve written a series of blog posts to introduce you to the newest features of the product and in this release, we made major changes to PowerShell HelpWriter. What do we mean by major changes? […]