Apr 10 2017 05:41 AM
Anyone got a explanation why this is happening? Also tried with " around the text in the input.
Read-host seems to work if i only input one thing like: Sway
Not working when inputting: sway,yammer_enterprise
Apr 10 2017 05:51 AM
SolutionFound it out, had to do it like this.
Apr 10 2017 11:45 AM
You're passing a String value, it needs to be list. Try it like this:
$newSKU = New-MsolLicenseOptions -AccountSkuId tenant:SKUID -DisabledPlans $SelectedPlans.Split(",")
Apr 10 2017 01:46 PM
ah, so without the split powershell see it as one long object/value. Thanks for that one.
Apr 10 2017 05:51 AM
Solution