

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 dirty The first…
Navigation What is $PSBoundParameters? Taking a look at $PSBoundParameters Using a switch statement Splatting with $PSBoundParameters Wrapping things up You can view all of the example code on…
PowerShell Quick Tip: Using ValidateSet Why 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…