Beschreibung
Über die PS Console können Sie mit einer WMI oder einer Environment Abfrage die installierte Windows Version und die darunter liegende Platfrom ermitteln.
da
| Befehl | Ergebnis |
| (Get-WmiObject -class Win32_OperatingSystem).Caption | Microsoft Windows 7 Professional |
| [System.Environment]::OSVersion.Version | Major Minor Build Revision ----- ----- ----- -------- 6 1 7601 65536 |
| get-wmiobject win32_operatingsystem -computer <RECHNERNAME> | select-object OSArchitecture | OSArchitecture -------------- 64-Bit |
