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”
Tips,tutorials and news about various operating systems, such as setting up Windows, Linux, iOS and programs.