Specifying PowerShell Parameter Position

Positional Parameters Whether you know it or not, if you’ve used PowerShell, you’ve used positional parameters. In the following command the argument (c:\temp) is passed to the -Path parameter by position. The other option for passing a parameter would be to pass it by name like this: It makes sense for some commands to allow …

Continue reading ‘Specifying PowerShell Parameter Position’ »