How can I directly pass a powershell switch (System.Management.Automation.SwitchParameter) to an ARM template (which will be used as a condition in the template itself)?
Currently I am using the workaround of converting the switch to an string.
How can I directly pass a powershell switch (System.Management.Automation.SwitchParameter) to an ARM template (which will be used as a condition in the template itself)?
Currently I am using the workaround of converting the switch to an string.
Lets say your switch is called fullversion:
and your parameterfile also contains a parameter called fullversion then you can pass it like: