When using a PowerShell script to populate a
dynamic folder, I always get an error such as “Unexpected character encountered
while parsing value: W. Path ‘’, line 0, position 0.”. In my case the problem is caused by my PowerShell profile outputting data when my profile loads.
Please implement functionality to allow calling powershell.exe with command line parameters, so I can call it with the -NoProfile command.
Thanks