

5 posts tagged tip
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…
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…
What the -f? There are many ways to manipulate/build strings in PowerShell. One of my favorite ways is to use the -f format operator. When you use the operator, it evaluates everything to the right…