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?…
Read More
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…
Read More
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…
Read More
On Friday, January 6, 2017, I posted the following puzzle on Twitter and Facebook (here, too!).
It shows a Try block that encloses an expression with an intentional error and a Catch block that writes an error. But, when you…
Read More
On Friday, December 16, 2016, I posted the following puzzle on Twitter.
It shows a function that has no comment-based help or XML help, but when you run Get-Help on the function, Get-Help displays both a description and notes for…
Read More
Have you been keeping an eye on the SAPIEN Information Center? If not, here are some articles you may have missed!
Working with SemanticVersion in PowerShell
by June Blender, November 3, 2016
As the versions of Windows PowerShell and PowerShell…
Read More
One of my first tasks, after I was hired at SAPIEN, was to figure out why users couldn’t view WMI classes on remote computers and turn the solution into an easy-to-follow blog post. After completing that, I had to turn…
Read More
Now that PowerShell is available on the Mac, we thought it would be useful to show how easy it is to setup a Mac terminal session that automatically opens into PowerShell. Figure 1 shows what we mean.
First you need…
Read More
Although the names are similar and often confused, these properties are different. If you confuse them, the help for your PowerShell commands and modules won’t work.
The HelpUri property stores the URL (http or https) of online help for a…
Read More
iPowerShell, our little iOS app, has come a long way over the years. It started out as simply a reference tool for PowerShell cmdlets, about_help and provider help. Over the years, we added YouTube videos, PowerShell Twitter posts, PowerShell…
Read More