tom3020
Oct 13, 2015Nimbostratus
Thank you very much!
I'm from Europe and we have some partitions. I changed:
$Excel = New-Object -ComObject Excel.Application;
===> [threading.thread]::CurrentThread.CurrentCulture = 'en-US'
$Excel = New-Object -ComObject Excel.Application;
===AND===
$vs_address_name = $vs.destination.Split(":")[0].Replace("/", "~");
===> $vs_address_name = ($vs.destination.Split(":")[0].Replace("/", "~")).Replace("%","%25");