I have a powershell api script that changing wifi passwords in Meraki.
Now i want to add this script to Task Scheduler and execute it with a specific command line, for example:
In “Action” section i’m always putting those lines:
Program/script : Powershell.exe
Add arguments : -ExecutionPolicy Bypass C:\Policies\Meraki\ChangePass.ps1
But this won’t work here, because this script can be executed only when using this command:
.\ChangePass.ps1 -site “Building1” -ssid “Wifi-Guest” -action “Change”
Thanks for help