2015-10-14から1日間の記事一覧

Powershell でWindowsOSのVersionを取得する。

Powershell でWindowsOSのVersionを取得するには、WMIを利用して情報を取得する必要がある。とはいえ、参照するだけなので、そこまで難しくはない。 環境 もの 詳細 OS Microsoft Windows 8.1 Pro (6.3.9600) Powershell 4.0 実行例 PS > "$((get-wmiobject …