Custom Switches

Hi all,

I’m looking for a little input on creating a custom switch with a variable. What I’m looking to do is add a language switch that will run that will run the appropriate install command based on what was set but I’m not exactly sure how to pull that off. This is what I’m thinking currently…

[switch]$Language = 'Lang1',

Is that right?

Going to answer my own question as this does appear to have worked.