I have to come back to my original question, are you sure that only 1 VM is returned when you do a Get-VM with that name?
That's for now the only possibility I see.
The error states that it receives an array where it expects a single value.
You could also check by doing a
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference