Hi,
I would like to apologise for not replying earlier. The first of May is a holiday in many European countries and people tend to take a long weekend. But truth to tell, I was hoping that one of my more powershell-savy colleagues would answer your query. Since they didn't, it falls to me to try to help you out.
I don't have a Windows PC at home though, so there's little I can do right now. I will be back in the office with my Windows notebook tomorrow, and I'll give it a shot then. The first order of business will be to reproduce your problem. If that succeeds, it's usually a small step to solving the problem.
Thanks for you patience!
Dirk