Skip to content

[Bug]: Get-WindowsVersion/Get-WindowsVersionString on non-English based systems #142

@t0rsten

Description

@t0rsten

Describe the problem

On a non-English speaking system (in my case German) the following error message occurs.

2023-10-20_03h44_36

The reason is that systeminfo.exe is fully translated.

2023-10-20_03h43_37

Expectation

No response

Additional Information

From my point of view, systeminfo.exe should not be used and the WMI class Win32_OperatingSystem should be used instead.

(Get-CimInstance -ClassName Win32_OperatingSystem -Property Caption).Caption

PowerShell version

7.3

Platform

Windows 10 Pro or Enterprise

Additional Checks

  • You are using the latest version of this module.
  • You have read this repository's README file.
  • You have read full help and examples for the command you are having problems with.
  • You are running PowerShell in an elevated session.
  • You are running in a traditional PowerShell console or Windows Terminal

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions