如何在PowerShell底下取得Windows作業系統版本資訊?
Get-CimInstance -ClassName Win32_OperatingSystem |
  Select-Object -Property BuildNumber,BuildType,OSType,ServicePackMajorVersion,ServicePackMinorVersion
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: 如何在PowerShell底下取得Windows作業系統版本資訊? ### Response: Get-CimInstance -ClassName Win32_OperatingSystem |
  Select-Object -Property BuildNumber,BuildType,OSType,ServicePackMajorVersion,ServicePackMinorVersion 