Summary: Use Windows PowerShell to find the operating system version and installation date.
How can I use Windows PowerShell to find the version of my Windows operating system, its installation date,
and the operating system architecture?
Use the Get-CimInstance cmdlet (GCIM is an alias) and query the Win32_OperatingSystem WMI class,
gcim Win32_OperatingSystem | select Version, InstallDate, OSArchitecture