N-Able add parameters to a script

Param block at the start of the ps script.

Param ( $Uri )

Task command line arguments field:

MyScript.ps1 -Uri “https://some domain.com/download”

Source

Leave a Reply