I am trying to write a PowerShell cmdlet which accepts multiple inputs for a single parameter.
For example, I could do the following easily:
Get-CountryList -Group "a" -Category "x"
But I want to do something like this:
Get-CountryList -Groups "a b c d" -Category "x"
(or)
Get-CountryList -Groups "a,b,c,d" -Category "x"
I searched, but I could not find how to do this.
How can I do it?