Character-encoding problem with string literal in source code
Note: Remoting and use of Invoke-Command are incidental to your problem. Since the problem occurs with a string literal in your source code (…\01_Klassenbücher\…), the likeliest explanation is that your script file is misinterpreted by PowerShell. In Windows PowerShell, if your script file is de facto UTF-8-encoded but lacks a BOM, the PowerShell engine will … Read more