See which Windows 10 Edition you have Installed  

Page 2 of 2 FirstFirst 12

  1. Posts : 16,950
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #10

    garlin said:
    I would vote for wmic os get caption, or its PS equivalent.
    Code:
    PS C:\Windows> Get-WmiObject -Class Win32_OperatingSystem | select Caption
    They are both much neater than my temporary solution for coping with Windows 11 [well, what I thought would be temporary]
    ReportOSVersion.bat post [Win10-Win11] - TenForums

    I've added your suggestion into my script.
    I used the PS command because the wmic response was awkward to handle without resorting to a subroutine or DelayedExpansion.


    Thanks yet again,
    Denis
    Last edited by Try3; 17 Jan 2024 at 04:38.
      My Computer


 

Tutorial Categories

See which Windows 10 Edition you have Installed Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 07:57.
Find Us




Windows 10 Forums