SOLVED

wronge output

MVP
https://github.com/AlexanderHolmeset/Skype-for-Business-Automatic-RGS-Holidayset/blob/master/SkypeFo...
Any idea why i get the output that is on the black shell window? It only stores one day correctly.

Should output like the blue shell
2 Replies

Looks like what my script does is that it creates a bunch of holidaylist.

Need to be like this instead: -Holidaylist($a,$b,$c)

Any idea how i can do that?

 

best response confirmed by Alexander H (MVP)
Solution

$x needed to be an Array.

Now its working