I'm by no means a Powershell expert, so there may be some misuse of terms:
I'm editing a script to install pieces of software based upon the value of a variable. I want to permit multiple strings so what gets installed can be cherry-picked. Examples:
installsoftware.ps1 -DeployModules "Base, Pack1, Pack3"
installsoftware.ps1 -DeployModules "All"
How would people suggest I accomplish this? Thanks