Editor's note: Adam Bertram originally wrote the article and Brien Posey expanded it. The PowerShell parameter is a fundamental component of most PowerShell scripts. Parameters make it possible to ...
Despite its weird name, splatting can be a really handy technique if you create a lot of PowerShell scripts. If you have worked with PowerShell for any length of time, you have no doubt seen instances ...
If you are building PowerShell longer than a few lines, it is good practice to break up your code into reusable snippets. This way you can only call the code snippet over and over instead of ...
New-Object's Property parameter can bust out a hashtable of property names and values that's easier on the eyes. If you've seen any of my PowerShell scripts from either my Mr. Roboto column or my blog ...