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…
Read More
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
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