In this post, I would like to provide a detailed explanation of the Get-Command -Syntax output. While the output is documented (the format used is actually called a syntax diagram) I found parts of it rather confusing. As an example throughout this post, we will use the output of the command: The output looks quite … Continue reading PowerShell Get-Command -Syntax output explained
Month: July 2018
Find out in which version a PowerShell Cmdlet was introduced
Some days ago Thomas Rayner (whom I admire for his passion and consistency when it comes to sharing his knowledge) posted about the same topic on his blog. He mentioned a method on how to utilize GitHub in order to find out the earliest Version a PowerShell Cmdlet was introduced. When I read the Thomas's … Continue reading Find out in which version a PowerShell Cmdlet was introduced
Get .net Format Strings for given input
Yet again, long time no post! .net Format Strings are very useful when it comes to taking control over the output of your scripts. e.g.: The problem with those Format Strings is, that hardly anyone can remember them. While there they are thoroughly documented and several nice folks have created cheat-sheets (e.g. here), I thought … Continue reading Get .net Format Strings for given input