Pass script parameters with Invoke-CMScript
Allow the Invoke-CMScript to pass script parameters. This could be done with a ScriptParameter hashtable similar to how Invoke-CMReport functions.
What is the point of the built in cmdlets if we have do all this through wmi on the site server just run the script with a few paramaters?
Hi Dan, you can use this function to pass params to a Invoke-CMSCript: