I tried, didn't help. I also tried with semicolons between the parameters, but got the same errors.
The VHD gets created alright, but not the VM. I've searched the internet for every possible way of splatting and the syntax should be correct.
I don't know, maybe foreach doesn't like splatting?
↧
Reply To: Splatting in script
↧