From 8d452d4f45705db03ecdee347101a342408bc7d2 Mon Sep 17 00:00:00 2001 From: Alexandre B Date: Sat, 14 Sep 2024 17:32:40 -0400 Subject: [PATCH] Update powershell.md --- assets/powershell.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/assets/powershell.md b/assets/powershell.md index d549796b..256bace6 100644 --- a/assets/powershell.md +++ b/assets/powershell.md @@ -126,6 +126,15 @@ Get-WmiObject -Class Win32_OperatingSystem Get-CimInstance -ClassName CIM_Processor | Where-Object {$_.'DeviceID' -eq 'CPU0'} | ft -hide ``` +### Cim-Class List + +To get full list of CimClass, run `Get-CimClass` + +- Win32_SystemBIOS +- Win32_DiskPartition +- Win32_Processor +- CIM_Processor (DeviceID, Name, Caption, MaxClockSpeed, Manufacturer) + ## SYSTEMINFO __SYSTEMINFO__ displays operating system configuration information for a local or remote computer.