How to find the Windows version from the PowerShell command line

前端 未结 25 990
野的像风
野的像风 2020-12-22 15:51

How do I find which Windows version I\'m using?

I\'m using PowerShell 2.0 and tried:

PS C:\\> ver
The term \'ver\' is not recognized as the name o         


        
相关标签:
25条回答
  • 2020-12-22 16:38

    Since PowerShell 5:

    Get-ComputerInfo
    Get-ComputerInfo -Property Windows*
    

    I think this command pretty much tries the 1001 different ways so far discovered to collect system information...

    0 讨论(0)
提交回复
热议问题