mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2024-10-05 20:47:50 -04:00
Update powershell.md
This commit is contained in:
parent
8d452d4f45
commit
5ed00bc281
@ -126,6 +126,21 @@ Get-WmiObject -Class Win32_OperatingSystem
|
||||
Get-CimInstance -ClassName CIM_Processor | Where-Object {$_.'DeviceID' -eq 'CPU0'} | ft -hide
|
||||
```
|
||||
|
||||
### To extract CPU information only
|
||||
```
|
||||
Get-CimInstance -ClassName CIM_Processor | Select Caption | ft -hide
|
||||
```
|
||||
|
||||
### To extract CPU name only
|
||||
```
|
||||
Get-CimInstance -ClassName CIM_Processor | Select Name | ft -hide
|
||||
```
|
||||
|
||||
### To extract CPU manufacturer only
|
||||
```
|
||||
Get-CimInstance -ClassName CIM_Processor | Select Manufacturer | ft -hide
|
||||
```
|
||||
|
||||
### Cim-Class List
|
||||
|
||||
To get full list of CimClass, run `Get-CimClass`
|
||||
|
Loading…
Reference in New Issue
Block a user