Infos über das System Powershell: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Die Seite wurde neu angelegt: „=ComputerInfo= ;Allgemein *Get-ComputerInfo ;Versions Property *Get-ComputerInfo -Property "*version"“
 
Zeile 4: Zeile 4:
;Versions Property
;Versions Property
*Get-ComputerInfo -Property "*version"
*Get-ComputerInfo -Property "*version"
==
*Get-CimInstance -ClassName Win32_BIOS
<pre>
SMBIOSBIOSVersion : rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org
Manufacturer      : SeaBIOS
Name              : Default System BIOS
SerialNumber      :
Version          : BOCHS  - 1
</pre>
*Get-CimInstance -ClassName Win32_Processor | Select-Object -ExcludeProperty "CIM*"
<pre>
DeviceID Name                Caption                              MaxClockSpeed SocketDesignation Manufacturer
-------- ----                -------                              ------------- ----------------- ------------
CPU0    Common KVM processor Intel64 Family 15 Model 6 Stepping 1 2000          CPU 0            GenuineIntel
CPU1    Common KVM processor Intel64 Family 15 Model 6 Stepping 1 2000          CPU 1            GenuineIntel
</pre>
*Get-CimInstance -ClassName Win32_Desktop
<pre>
SettingID Name                        ScreenSaverActive ScreenSaverSecure ScreenSaverTimeout
--------- ----                        ----------------- ----------------- ------------------
          NT-AUTORITÄT\SYSTEM        False
          NT-AUTORITÄT\Lokaler Dienst False
          NT-AUTORITÄT\Netzwerkdienst False
          TOMWIN\xinux                False
          TOMWIN\thomas.will          False
          TOMWIN\Administrator        False
          .DEFAULT                    False
</pre>
*Get-CimInstance -ClassName Win32_Desktop | Select-Object -ExcludeProperty "CIM*"
<pre>
SettingID Name                        ScreenSaverActive ScreenSaverSecure ScreenSaverTimeout
--------- ----                        ----------------- ----------------- ------------------
          NT-AUTORITÄT\SYSTEM        False
          NT-AUTORITÄT\Lokaler Dienst False
          NT-AUTORITÄT\Netzwerkdienst False
          TOMWIN\xinux                False
          TOMWIN\thomas.will          False
          TOMWIN\Administrator        False
          .DEFAULT                    False
</pre>
*Get-CimInstance -ClassName Win32_ComputerSystem
<pre>
Name            PrimaryOwnerName                Domain                        TotalPhysicalMemory            Model                          Manufacturer
----            ----------------                ------                        -------------------            -----                          ------------
TOMWIN          xinux                          WORKGROUP                      8589344768                    Standard PC (Q35 + ICH9, 2009) QEMU
</pre>

Version vom 17. November 2021, 19:42 Uhr

ComputerInfo

Allgemein
  • Get-ComputerInfo
Versions Property
  • Get-ComputerInfo -Property "*version"

==

  • Get-CimInstance -ClassName Win32_BIOS

SMBIOSBIOSVersion : rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org
Manufacturer      : SeaBIOS
Name              : Default System BIOS
SerialNumber      :
Version           : BOCHS  - 1


  • Get-CimInstance -ClassName Win32_Processor | Select-Object -ExcludeProperty "CIM*"

DeviceID Name                 Caption                              MaxClockSpeed SocketDesignation Manufacturer
-------- ----                 -------                              ------------- ----------------- ------------
CPU0     Common KVM processor Intel64 Family 15 Model 6 Stepping 1 2000          CPU 0             GenuineIntel
CPU1     Common KVM processor Intel64 Family 15 Model 6 Stepping 1 2000          CPU 1             GenuineIntel


  • Get-CimInstance -ClassName Win32_Desktop

SettingID Name                        ScreenSaverActive ScreenSaverSecure ScreenSaverTimeout
--------- ----                        ----------------- ----------------- ------------------
          NT-AUTORITÄT\SYSTEM         False
          NT-AUTORITÄT\Lokaler Dienst False
          NT-AUTORITÄT\Netzwerkdienst False
          TOMWIN\xinux                False
          TOMWIN\thomas.will          False
          TOMWIN\Administrator        False
          .DEFAULT                    False


  • Get-CimInstance -ClassName Win32_Desktop | Select-Object -ExcludeProperty "CIM*"

SettingID Name                        ScreenSaverActive ScreenSaverSecure ScreenSaverTimeout
--------- ----                        ----------------- ----------------- ------------------
          NT-AUTORITÄT\SYSTEM         False
          NT-AUTORITÄT\Lokaler Dienst False
          NT-AUTORITÄT\Netzwerkdienst False
          TOMWIN\xinux                False
          TOMWIN\thomas.will          False
          TOMWIN\Administrator        False
          .DEFAULT                    False

  • Get-CimInstance -ClassName Win32_ComputerSystem

Name             PrimaryOwnerName                Domain                         TotalPhysicalMemory            Model                          Manufacturer
----             ----------------                ------                         -------------------            -----                          ------------
TOMWIN           xinux                           WORKGROUP                      8589344768                     Standard PC (Q35 + ICH9, 2009) QEMU