LoginSignup
0
0

More than 1 year has passed since last update.

Windows Power ShellでOSのバージョンを確認する

Last updated at Posted at 2022-06-30

方法

Windows PowerShellで下記実行

(Get-WMIObject win32_operatingsystem).name

出力

Microsoft Windows 11 Pro|C:\WINDOWS|\Device\Harddisk0\Partition3

Note
Windows PowerShellで実行すること。
Anaconda Promptで実行したら動かなかった。

参考

How to Get Operating System Details with PowerShell on Windows

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0