Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
4 of 5 tasks
t0rsten opened this issue Oct 20, 2023 · 4 comments
Open
4 of 5 tasks
Assignees
Labels

Comments

@t0rsten
Copy link

t0rsten commented Oct 20, 2023

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
@t0rsten t0rsten added bug triage new issue that needs review labels Oct 20, 2023
@jdhitsolutions
Copy link
Owner

jdhitsolutions commented Oct 20, 2023

I will take a look when I am back home. I think I went with the tool because it gave me extra info. But it has been a long time since I have looked at the command.

@jdhitsolutions jdhitsolutions removed the triage new issue that needs review label Apr 4, 2024
@jdhitsolutions
Copy link
Owner

I finally got a little free time to look at this. I see what is happening now. I will have to get creative here.

@jdhitsolutions
Copy link
Owner

I think I will have something in the next release for you to try.

@t0rsten
Copy link
Author

t0rsten commented Jun 1, 2024

Let me know when I can test it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants