Mandatory parameters in PowerShell

  One of the most frequently question I get when teaching parameters in PowerShell is regarding mandatory parameters. To answer that, let us back up a little bit and talk about parameters in general. We know that in a script (or function) we can use $args to capture any argument that is passed and is…

0