

The Win32_OperatingSystem class properties include version and service pack information. Listing operating system version information The output, use Select-Object: Get-CimInstance -ClassName Win32_QuickFi圎ngineering -Property HotFixId | The properties returned from WMI class instances, not the object returned to PowerShell. The additional data is returned, because the Property parameter in Get-CimInstance restricts Return more information, because all the metadata is displayed by default: Get-CimInstance -ClassName Win32_QuickFi圎ngineering -Property HotFixIDĬimClass : root/cimv2:Win32_QuickFi圎ngineeringĬimInstanceProperties : ĬimSystemProperties : Get-CimInstance's Property parameter to choose only the HotFixID, doing so will actually įor more succinct output, you may want to exclude some properties. This class returns a list of hotfixes that looks like this: Source Description HotFixID InstalledBy InstalledOn PSComputerName You can list all installed hotfixes by using Win32_QuickFi圎ngineering: Get-CimInstance -ClassName Win32_QuickFi圎ngineering

Manufacturers and may therefore be unavailable. Some information isn't correctly configured by hardware Your output from commands such as this, which return information directly from some hardware, is MyPC Jane Doe WORKGROUP 804765696 DA243A-ABA 6415cl NA910 Compaq Presario 06 Name PrimaryOwnerName Domain TotalPhysicalMemory Model Manufacturer Output will not need any filtering to provide OEM data: Get-CimInstance -ClassName Win32_ComputerSystem Property: Get-CimInstance -ClassName Win32_ComputerSystem | Select-Object -Property SystemTypeĬomputer model information is also available from Win32_ComputerSystem. You will likely want to filter the information: Get-CimInstance -ClassName Win32_Processor | Select-Object -ExcludeProperty "CIM*"įor a generic description string of the processor family, you can just return the SystemType You can retrieve general processor information by using WMI's Win32_Processor class, although On the local computer: Get-CimInstance -ClassName Win32_BIOS The WMI Win32_BIOS class returns fairly compact and complete information about the system BIOS


To filter out the metadata, use a pipeline operator (|) to send the results of the Get-CimInstanceĬommand to Select-Object -ExcludeProperty "CIM*". For example: Get-CimInstance -ClassName Win32_Desktop | Select-Object -ExcludeProperty "CIM*" Specify the -ExcludeProperty parameter with "Cim*" as the Information returned by some WMI classes can be very detailed, and often include metadata aboutīecause most of these metadata properties have names that begin with Cim, you can filter the
