Use parameters to your Powershell scripts
Submitted by Alin Paraschiv
No Comment
here’s how to use parameters to your script
Ex: ./myscript.ps1-path “c: \ temp”-a value
Param ([string] $ path, [int] $ value)
Write-host “the path is: $ path and the value is $ value”
