PowerTip: Find Operating System Version and Installation Date with PowerShell

Doctor Scripto

Summary: Use Windows PowerShell to find the operating system version and installation date.

Hey, Scripting Guy! Question How can I use Windows PowerShell to find the version of my Windows operating system, its installation date,
           and the operating system architecture?

Hey, Scripting Guy! Answer Use the Get-CimInstance cmdlet (GCIM is an alias) and query the Win32_OperatingSystem WMI class,
           for example:

gcim Win32_OperatingSystem | select Version, InstallDate, OSArchitecture


Discussion is closed.

Feedback usabilla icon