How to find the build / UBR / kernel version of Windows 10 using command-line (cmd)












1















I would like to know the basic commands in prompt windows. Therefore, I want to begin by knowing the command that return details of my operating system like kernel version / build and UBR (Update Build Revision).










share|improve this question

























  • What information are you looking for exactly? Update your question. How you determine the build revision number for a Windows installation in PowerShell is well documented.

    – Ramhound
    Jan 22 '18 at 20:48











  • Do you have any references please ? i really don't know any commands in command-line that can return build revision or the kernel's version.

    – Soufien Hajji
    Jan 22 '18 at 20:58
















1















I would like to know the basic commands in prompt windows. Therefore, I want to begin by knowing the command that return details of my operating system like kernel version / build and UBR (Update Build Revision).










share|improve this question

























  • What information are you looking for exactly? Update your question. How you determine the build revision number for a Windows installation in PowerShell is well documented.

    – Ramhound
    Jan 22 '18 at 20:48











  • Do you have any references please ? i really don't know any commands in command-line that can return build revision or the kernel's version.

    – Soufien Hajji
    Jan 22 '18 at 20:58














1












1








1








I would like to know the basic commands in prompt windows. Therefore, I want to begin by knowing the command that return details of my operating system like kernel version / build and UBR (Update Build Revision).










share|improve this question
















I would like to know the basic commands in prompt windows. Therefore, I want to begin by knowing the command that return details of my operating system like kernel version / build and UBR (Update Build Revision).







windows command-line prompt






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 22 '18 at 23:33









Run5k

11.3k73253




11.3k73253










asked Jan 22 '18 at 20:46









Soufien HajjiSoufien Hajji

113




113













  • What information are you looking for exactly? Update your question. How you determine the build revision number for a Windows installation in PowerShell is well documented.

    – Ramhound
    Jan 22 '18 at 20:48











  • Do you have any references please ? i really don't know any commands in command-line that can return build revision or the kernel's version.

    – Soufien Hajji
    Jan 22 '18 at 20:58



















  • What information are you looking for exactly? Update your question. How you determine the build revision number for a Windows installation in PowerShell is well documented.

    – Ramhound
    Jan 22 '18 at 20:48











  • Do you have any references please ? i really don't know any commands in command-line that can return build revision or the kernel's version.

    – Soufien Hajji
    Jan 22 '18 at 20:58

















What information are you looking for exactly? Update your question. How you determine the build revision number for a Windows installation in PowerShell is well documented.

– Ramhound
Jan 22 '18 at 20:48





What information are you looking for exactly? Update your question. How you determine the build revision number for a Windows installation in PowerShell is well documented.

– Ramhound
Jan 22 '18 at 20:48













Do you have any references please ? i really don't know any commands in command-line that can return build revision or the kernel's version.

– Soufien Hajji
Jan 22 '18 at 20:58





Do you have any references please ? i really don't know any commands in command-line that can return build revision or the kernel's version.

– Soufien Hajji
Jan 22 '18 at 20:58










1 Answer
1






active

oldest

votes


















1














I want to know my OS kernel version / build and UBR (Update Build Revision).



Use the following command in a cmd shell:



systeminfo | findstr /B /C:"OS Name" /C:"OS Version"


Example output:



> systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
OS Name: Microsoft Windows 10 Enterprise
OS Version: 10.0.14393 N/A Build 14393


And in PowerShell:



Get-CimInstance Win32_OperatingSystem | Select-Object  Caption, CSDVersion, ServicePackMajorVersion, BuildNumber | FL


Example output:



Caption                 : Microsoft Windows 10 Enterprise
CSDVersion :
ServicePackMajorVersion : 0
BuildNumber : 14393


Or:



[System.Environment]::OSVersion.Version


Example output:



> [System.Environment]::OSVersion.Version

Major Minor Build Revision
----- ----- ----- --------
10 0 14393 0




Further Reading




  • An A-Z Index of the Windows CMD command line

  • A categorized list of Windows CMD commands


  • findstr - Search for strings in files.


  • systeminfo - List system configuration






share|improve this answer


























  • David, another great answer! I hope you don't mind that I tested and modified the output examples to reflect Windows 10, as specified in the title.

    – Run5k
    Jan 22 '18 at 23:33











  • @Run5k Great! No problem and thanks ;)

    – DavidPostill
    Jan 22 '18 at 23:33











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1287950%2fhow-to-find-the-build-ubr-kernel-version-of-windows-10-using-command-line-c%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














I want to know my OS kernel version / build and UBR (Update Build Revision).



Use the following command in a cmd shell:



systeminfo | findstr /B /C:"OS Name" /C:"OS Version"


Example output:



> systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
OS Name: Microsoft Windows 10 Enterprise
OS Version: 10.0.14393 N/A Build 14393


And in PowerShell:



Get-CimInstance Win32_OperatingSystem | Select-Object  Caption, CSDVersion, ServicePackMajorVersion, BuildNumber | FL


Example output:



Caption                 : Microsoft Windows 10 Enterprise
CSDVersion :
ServicePackMajorVersion : 0
BuildNumber : 14393


Or:



[System.Environment]::OSVersion.Version


Example output:



> [System.Environment]::OSVersion.Version

Major Minor Build Revision
----- ----- ----- --------
10 0 14393 0




Further Reading




  • An A-Z Index of the Windows CMD command line

  • A categorized list of Windows CMD commands


  • findstr - Search for strings in files.


  • systeminfo - List system configuration






share|improve this answer


























  • David, another great answer! I hope you don't mind that I tested and modified the output examples to reflect Windows 10, as specified in the title.

    – Run5k
    Jan 22 '18 at 23:33











  • @Run5k Great! No problem and thanks ;)

    – DavidPostill
    Jan 22 '18 at 23:33
















1














I want to know my OS kernel version / build and UBR (Update Build Revision).



Use the following command in a cmd shell:



systeminfo | findstr /B /C:"OS Name" /C:"OS Version"


Example output:



> systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
OS Name: Microsoft Windows 10 Enterprise
OS Version: 10.0.14393 N/A Build 14393


And in PowerShell:



Get-CimInstance Win32_OperatingSystem | Select-Object  Caption, CSDVersion, ServicePackMajorVersion, BuildNumber | FL


Example output:



Caption                 : Microsoft Windows 10 Enterprise
CSDVersion :
ServicePackMajorVersion : 0
BuildNumber : 14393


Or:



[System.Environment]::OSVersion.Version


Example output:



> [System.Environment]::OSVersion.Version

Major Minor Build Revision
----- ----- ----- --------
10 0 14393 0




Further Reading




  • An A-Z Index of the Windows CMD command line

  • A categorized list of Windows CMD commands


  • findstr - Search for strings in files.


  • systeminfo - List system configuration






share|improve this answer


























  • David, another great answer! I hope you don't mind that I tested and modified the output examples to reflect Windows 10, as specified in the title.

    – Run5k
    Jan 22 '18 at 23:33











  • @Run5k Great! No problem and thanks ;)

    – DavidPostill
    Jan 22 '18 at 23:33














1












1








1







I want to know my OS kernel version / build and UBR (Update Build Revision).



Use the following command in a cmd shell:



systeminfo | findstr /B /C:"OS Name" /C:"OS Version"


Example output:



> systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
OS Name: Microsoft Windows 10 Enterprise
OS Version: 10.0.14393 N/A Build 14393


And in PowerShell:



Get-CimInstance Win32_OperatingSystem | Select-Object  Caption, CSDVersion, ServicePackMajorVersion, BuildNumber | FL


Example output:



Caption                 : Microsoft Windows 10 Enterprise
CSDVersion :
ServicePackMajorVersion : 0
BuildNumber : 14393


Or:



[System.Environment]::OSVersion.Version


Example output:



> [System.Environment]::OSVersion.Version

Major Minor Build Revision
----- ----- ----- --------
10 0 14393 0




Further Reading




  • An A-Z Index of the Windows CMD command line

  • A categorized list of Windows CMD commands


  • findstr - Search for strings in files.


  • systeminfo - List system configuration






share|improve this answer















I want to know my OS kernel version / build and UBR (Update Build Revision).



Use the following command in a cmd shell:



systeminfo | findstr /B /C:"OS Name" /C:"OS Version"


Example output:



> systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
OS Name: Microsoft Windows 10 Enterprise
OS Version: 10.0.14393 N/A Build 14393


And in PowerShell:



Get-CimInstance Win32_OperatingSystem | Select-Object  Caption, CSDVersion, ServicePackMajorVersion, BuildNumber | FL


Example output:



Caption                 : Microsoft Windows 10 Enterprise
CSDVersion :
ServicePackMajorVersion : 0
BuildNumber : 14393


Or:



[System.Environment]::OSVersion.Version


Example output:



> [System.Environment]::OSVersion.Version

Major Minor Build Revision
----- ----- ----- --------
10 0 14393 0




Further Reading




  • An A-Z Index of the Windows CMD command line

  • A categorized list of Windows CMD commands


  • findstr - Search for strings in files.


  • systeminfo - List system configuration







share|improve this answer














share|improve this answer



share|improve this answer








edited Jan 22 '18 at 23:32









Run5k

11.3k73253




11.3k73253










answered Jan 22 '18 at 20:59









DavidPostillDavidPostill

107k26232266




107k26232266













  • David, another great answer! I hope you don't mind that I tested and modified the output examples to reflect Windows 10, as specified in the title.

    – Run5k
    Jan 22 '18 at 23:33











  • @Run5k Great! No problem and thanks ;)

    – DavidPostill
    Jan 22 '18 at 23:33



















  • David, another great answer! I hope you don't mind that I tested and modified the output examples to reflect Windows 10, as specified in the title.

    – Run5k
    Jan 22 '18 at 23:33











  • @Run5k Great! No problem and thanks ;)

    – DavidPostill
    Jan 22 '18 at 23:33

















David, another great answer! I hope you don't mind that I tested and modified the output examples to reflect Windows 10, as specified in the title.

– Run5k
Jan 22 '18 at 23:33





David, another great answer! I hope you don't mind that I tested and modified the output examples to reflect Windows 10, as specified in the title.

– Run5k
Jan 22 '18 at 23:33













@Run5k Great! No problem and thanks ;)

– DavidPostill
Jan 22 '18 at 23:33





@Run5k Great! No problem and thanks ;)

– DavidPostill
Jan 22 '18 at 23:33


















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1287950%2fhow-to-find-the-build-ubr-kernel-version-of-windows-10-using-command-line-c%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Сан-Квентин

8-я гвардейская общевойсковая армия

Алькесар