Windows 10: How to obtain Major.Minor.Version.Patch details from PowerShell?

Discus and support How to obtain Major.Minor.Version.Patch details from PowerShell? in Windows 10 Gaming to solve the problem; Hello everyone, I happen to use following command to obtain operating system version details. cmd /verThe same command cannot be used when called in a... Discussion in 'Windows 10 Gaming' started by NitinSinghSS, Feb 8, 2023.

  1. How to obtain Major.Minor.Version.Patch details from PowerShell?


    Hello everyone, I happen to use following command to obtain operating system version details. cmd /verThe same command cannot be used when called in a PowerShell script like following. Why? because it opens a shell; and control remain stuck there. invoke-command -scriptblock {cmd /ver}Now I have tried following but this is not very explanatory as I want details given from cmd /ver. $Version = Get-CimInstance Win32_OperatingSystem -ErrorAction Stop.VersionHow can I obtain the Major/Minor/Version/Patch details using any PowerShell command on a remote machine where the output from cmd /ver is e

    :)
     
    NitinSinghSS, Feb 8, 2023
    #1
  2. sumanp25 Win User

    what would be the Major version, Minor version, Architecture values


    I downloaded win10 preview and installed on a virtualbox VM running on a Win7 system.
    And when i check the Registry entry of Win10 , i see 6.3 as version, but in the screen shot that you provided here it shows 6.4. Which one is correct?
    and what would be the Major version, Minor version, Architecture values for the final version of Windows 10 ? Please let us know.


    How to obtain Major.Minor.Version.Patch details from PowerShell? [​IMG]


    I also wrote a piece of C# code in .NET 4.5 just to display the OS versions.
    private
    voidbutton1_Click(objectsender,EventArgse)
    {
    label1.Text =
    Environment.OSVersion.Version.Major.ToString();
    label2.Text =
    Environment.OSVersion.Version.Minor.ToString();
    label3.Text =
    Environment.OSVersion.Version.MajorRevision.ToString();
    label4.Text =
    Environment.OSVersion.Version.MinorRevision.ToString();
    }
    And here is the result that I get on the win10 preview and installed on a virtualbox VM running on a Win7 system


    How to obtain Major.Minor.Version.Patch details from PowerShell? [​IMG]


    So it looks like there is no consistency. Please let us know Major version, Minor version, Architecture values for the final version of Windows 10
     
    sumanp25, Feb 8, 2023
    #2
  3. Kursah Win User
    PowerShell instead of Commandline in Creators Update

    Interestingly enough my personal laptop just got the update...and still has Command Prompt listed, not PowerShell...

    Edit: Not that it matters...I use both regularly. *Toast :toast:
     
    Kursah, Feb 8, 2023
    #3
  4. btarunr Win User

    How to obtain Major.Minor.Version.Patch details from PowerShell?

    EVGA Releases SLI Enhancement Patch Version 8 (03.30.09)

    EVGA released another version of its SLI Enhancement Patch, version 8 (03.30.09), its third one for this month alone. The patch works in conjunction with the installed NVIDIA GeForce driver, in providing SLI support to games through SLI profiles. The support is game-specific, and each release of the patch expands the support-base. The new version is based on NVIDIA driver 182.46. The following games are added to the support list, apart from all the games already supported by the patch:
    • Battlefield Heroes
    • Stormrise
    • Weapons of Fate
    • Jumpgate Evolution
    • Age of Booty
    • Football Manager '05-'09
    Registered EVGA users can download the patch from here.
     
    btarunr, Feb 8, 2023
    #4
Thema:

How to obtain Major.Minor.Version.Patch details from PowerShell?

Loading...
  1. How to obtain Major.Minor.Version.Patch details from PowerShell? - Similar Threads - obtain Major Minor

  2. How to find window 11 and window server 2022 major version and minor version from official...

    in Windows 10 Gaming
    How to find window 11 and window server 2022 major version and minor version from official...: I found the build version from https://www.anoopcnair.com/windows-11-version-numbers-build-numbers-major/ I'm not sure, are there any Microsoft official websites that have information about the build version number?...
  3. How to find window 11 and window server 2022 major version and minor version from official...

    in Windows 10 Software and Apps
    How to find window 11 and window server 2022 major version and minor version from official...: I found the build version from https://www.anoopcnair.com/windows-11-version-numbers-build-numbers-major/ I'm not sure, are there any Microsoft official websites that have information about the build version number?...
  4. How to obtain Major.Minor.Version.Patch details from PowerShell?

    in Windows 10 Customization
    How to obtain Major.Minor.Version.Patch details from PowerShell?: Hello everyone, I happen to use following command to obtain operating system version details. cmd /verThe same command cannot be used when called in a PowerShell script like following. Why? because it opens a shell; and control remain stuck there. invoke-command -scriptblock...
  5. How to obtain Major.Minor.Version.Patch details from PowerShell?

    in Windows 10 Software and Apps
    How to obtain Major.Minor.Version.Patch details from PowerShell?: Hello everyone, I happen to use following command to obtain operating system version details. cmd /verThe same command cannot be used when called in a PowerShell script like following. Why? because it opens a shell; and control remain stuck there. invoke-command -scriptblock...
  6. How to remove minor from an account

    in Windows 10 Software and Apps
    How to remove minor from an account: Hello,I am the creator of my family account and have one other account associated with it - my daughter's. I am trying to remove the account so I can disband the family and rearrange the family under a joint email with my wife. Every time I try to remove my daughter I get the...
  7. Is the May 2020 Update a Major or Minor Update?

    in Windows 10 Ask Insider
    Is the May 2020 Update a Major or Minor Update?: Could someone confirm whether the May 2020 update for Windows 10 is a major update that basically installs a new version of Windows which usually results in some settings being lost like the exact layout of the task manager, etc. Or is it a minor update which is just a...
  8. Major problem and small minor problems with my PC

    in Windows 10 Ask Insider
    Major problem and small minor problems with my PC: Ever since I installed a new motherboard along with a new cpu and ram, I’ve been having issues. I used to have a problem where I would boot into a no signal screen before login screen and I would just be stuck, I could temporarily fix it by hard resetting my pc via the power...
  9. OS Patch details

    in AntiVirus, Firewalls and System Security
    OS Patch details: How far in advance of patch Tuesday's can we receive details on the updates in order to assess impacts? https://answers.microsoft.com/en-us/windows/forum/all/os-patch-details/357273f5-0b82-4d1c-b57a-e9f63ebee888"
  10. what would be the Major version, Minor version, Architecture values

    in Windows 10 Drivers and Hardware
    what would be the Major version, Minor version, Architecture values: I downloaded win10 preview and installed on a virtualbox VM running on a Win7 system. And when i check the Registry entry of Win10 , i see 6.3 as version, but in the screen shot that you provided here it shows 6.4. Which one is correct? and what would be the Major version,...