8 posts tagged quick
Sometimes all you want to know, or need to know, is how big a folder is in PowerShell. To do that, we'll need to use Get-ChildItem and Measure-Object specifically.The quick and dirtyThe first command...
NavigationWhat is $PSBoundParameters?Taking a look at $PSBoundParametersUsing a switch statementSplatting with $PSBoundParametersWrapping things upYou can view all of the example code on GitHub:...
PowerShell Quick Tip: Using ValidateSetWhy Use ValidateSet?ValidateSet is part of advanced parameters. It allows you to constrain the input of the parameter to a set of values. It also will...