Forum Discussion
Re: Read-Host not working with multiple input
You're passing a String value, it needs to be list. Try it like this:
$newSKU = New-MsolLicenseOptions -AccountSkuId tenant:SKUID -DisabledPlans $SelectedPlans.Split(",")
1 Reply
ah, so without the split powershell see it as one long object/value. Thanks for that one.