Search This Blog

Sunday, February 1, 2015

How To Use PowerShell To Retrieve Basic System Information

http://redmondmag.com/articles/2015/01/23/powershell-to-retrieve-info.aspx

Get-CimInstance Win32_OperatingSystem | Select-Object  Caption, InstallDate, ServicePackMajorVersion, OSArchitecture, BootDevice,  BuildNumber, CSName | FL

PS C:\Users\mike.YANG11> Get-CimInstance Win32_OperatingSystem | Select-Object  Caption, InstallDate, ServicePackMajorVe
rsion, OSArchitecture, BootDevice,  BuildNumber, CSName | FL


Caption                 : Microsoft Windows 8.1 Enterprise
InstallDate             : 27/08/2014 5:15:14 p.m.
ServicePackMajorVersion : 0
OSArchitecture          : 64-bit
BootDevice              : \Device\HarddiskVolume2
BuildNumber             : 9600
CSName                  : MKSHADOW

No comments:

Post a Comment