param(
[string]$name,
[string]$template
)
I have a powershell script with the following parameters. I am executing this powershell script from C#. I would like to parse the script and get the parameters. In future the script may change and so will the parameter count.