How to force PS output to English instead of Espanol?

Sameer Save 26 Reputation points
2021-02-11T20:56:02.79+00:00

I have a WIndows Server 2012 configured with es-ES as the default language.
Is there a way to get PowerShell commands to output in English?

[SYSTEM@ssave-Windows-P ~]
TestUser$ diskpart

Microsoft DiskPart versi▒n 6.3.9600

Copyright (C) 1999-2013 Microsoft Corporation.
En el equipo: SSAVE-WINDOWS-P

DISKPART> list disk

N▒m Disco Estado Tama▒o Disp Din Gpt


Disco 0 En l▒nea 256 GB 0 B *

DISKPART>

Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,609 questions
0 comments No comments
{count} vote

Accepted answer
  1. Rich Matheisen 47,581 Reputation points
    2021-02-11T22:30:23.313+00:00

    You may not be able to have any effect on external programs such as diskpart. You can (mostly) do it for the current PowerShell session, though: temporarily-change-powershell-language-to-english

    You might be able to use something like this in CMD.exe: change-non-english-command-line.html


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.