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?