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”
You don' know how to to? Here you can find tips,tutorials and news about various operating systems, such as setting up Windows, Linux, iOS and programs.