PowerShell Script Interpreter ability to use command line parameters when calling powershell.exe
C
Christian Sandfeld
started a topic
almost 5 years ago
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.
Christian Sandfeld
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