Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

regional settings

$
0
0

Hello,

When executing this command in my local workstation it outputs correctly.

robocopy "c:\data" NULL /l /s /nfl /xx /nc /ns /njh /njs | foreach { $_.trim() | out-file -Encoding UNICODE -append .\Processed_Folders.txt }

The same command on the server it doesnt output correctly.
It doesnt output correclty characters like "ã" and it just shows an "a"

In my local computer this is my info from get-culture

LCID             Name             DisplayName
2055             de-CH            Deutsch (Schweiz)

And in the server is US-English.

Is there any way I can try with the command to set a different culture? Or how i can make sure all the special characters like öäü are also shown.
I am using Powershell 3.0

Thanks in advance,

 

Regards,

Jacobo.

 


Viewing all articles
Browse latest Browse all 6937

Trending Articles