Allow parameters to "Run Script"
When using the "Run Script" against a collection allow the script to accept parameters.
Parameters for Run Script have been added to 1710. Thanks for the feedback on this feature and keep it coming!
Ok, now it might be great if you allowed PASSING PARAMETERS TO THE CMDLET "invoke-cmscript". Otherwise this request shouldn't be marked as completed.
Dustin Hedges commented
Need this to support Boolean!!!
Tamir Levy commented
I think this feature could be a great candidate for the community to share their ideas on what kind of scripts they run on the environment. maybe like have an online gallery and an easy way to upload \ rate\ download and import scripts.
After some games with the feature - I think there should also be a way to deploy scripts same as we do with packages, baseline. instead of creating a ps1 file and distribute or a configuration items with check\remediate - just have it built-in and have the option to schedule the deployment in the future \ add reoccurrence
Scott Erickson commented
Hopefully adding validated parameters is on your to-do for this one. Would be nice to have a drop down of acceptable parameters for users running the scripts to choose from instead of only free-form fields.