CIMV2

The namespace root/cimv2 is the default namespace and contains the majority of useful classes.

Just pick a class from the list below, and let PowerShell enumerate all instances. The following example lists information about your operating system:

Get-WMIObject -Class Win32_OperatingSystem

Simply replace “Win32_OperatingSystem” with a different class name from the list below to query for different information. You may get back one or more instances, or no results (if there were no instances of the particular class).

By default, PowerShell returns only the most popular properties. To get back the complete information, tell PowerShell to display all properties:

Get-WMIObject -Class Win32_OperatingSystem | Select-Object -Property *

Popular Classes

Battery

33 properties – 2 methods

The Win32_Battery class represents a battery connected to the computer system.

BIOS

27 properties – 0 methods

The Win32_BIOS class represents the attributes of the computer system's basic input/output services (BIOS) that are installed on the computer.

BootConfiguration

9 properties – 0 methods

The Win32_BootConfiguration class represents the boot configuration of a Win32 system.

ClusterShare

11 properties – 4 methods

The Win32_ClusterShare class represents a shared resource on a cluster.

ComputerSystem

60 properties – 4 methods

The Win32_ComputerSystem class represents a computer system operating in a Win32 environment.

DataFile

33 properties – 14 methods

CIM_DataFile is a type of logical file that is a named collection of data or executable code.

Desktop

21 properties – 0 methods

The Win32_Desktop class represents the common characteristics of a user's desktop.

DesktopMonitor

28 properties – 2 methods

The Win32_DesktopMonitor class represents the type of monitor or display device attached to the computer system.

Directory

31 properties – 14 methods

The Win32_Directory class represents a directory entry on a Win32 computer system.

DiskDrive

51 properties – 2 methods

The Win32_DiskDrive class represents a physical disk drive as seen by a computer running the Win32 operating system.

DiskPartition

34 properties – 2 methods

The Win32_DiskPartition class represents the capabilities and management capacity of a partitioned area of a physical disk on a Win32 system.

DiskQuota

6 properties – 0 methods

The Win32_DiskQuota association class tracks disk space usage for NTFS volumes.

DisplayConfiguration

15 properties – 0 methods

The Win32_DisplayConfiguration class represents configuration information for the display device on a Win32 system.

Environment

8 properties – 0 methods

The Win32_Environment class represents an environment or system environment setting on a Win32 computer system.

Fan

22 properties – 3 methods

The Win32_Fan class represents the properties of a fan device in the computer system.

FolderRedirection

8 properties – 0 methods

.

Group

9 properties – 1 methods

The Win32_Group class represents data about a group account.

IDEController

23 properties – 2 methods

The Win32_IDEController class manages the capabilities of an IDE controller device.

IDEControllerDevice

7 properties – 0 methods

The Win32_IDEControllerDevice class represents an association between an Integrated Drive Electronics (IDE) controller and the logical device, for example, a disk drive, connected to it.

IP4PersistedRouteTable

9 properties – 0 methods

The IP4PersistedRouteTable class contains IP routes that are persisted.

IP4RouteTable

18 properties – 0 methods

The IP4RouteTable class information governs where network data packets are routed to (e.g.

Keyboard

23 properties – 2 methods

The Win32_Keyboard class represents a keyboard installed on a Win32 system.

LocalTime

10 properties – 0 methods

Describes an instance in time as returned by Win32ClockProvider.

LogicalDisk

40 properties – 5 methods

The Win32_LogicalDisk class represents a data source that resolves to an actual local storage device on a Win32 system.

LogicalFileSecuritySetting

6 properties – 2 methods

security settings for a logical file.

LogicalShareSecuritySetting

5 properties – 2 methods

security settings for a logical file.

LogonSession

9 properties – 0 methods

The Win32_LogonSession class describes the logon session or sessions associated with a user who has logged on to Windows NT or Windows 2000.

MotherboardDevice

22 properties – 2 methods

The Win32_MotherboardDevice class represents a device that contains the central components of the Win32 computer system.

NetworkAdapter

40 properties – 4 methods

The Win32_NetworkAdapter class represents a network adapter on a Win32 system.

NetworkAdapterConfiguration

61 properties – 41 methods

The Win32_NetworkAdapterConfiguration class represents the attributes and behaviors of a network adapter.

NetworkClient

6 properties – 0 methods

The Win32_NetworkClient class represents a network client on a Win32 system.

NetworkConnection

17 properties – 0 methods

The Win32_NetworkConnection class represents an active network connection in a Win32 environment.

NetworkLoginProfile

32 properties – 0 methods

The Win32_NetworkLoginProfile class represents the network login information of a particular user on a Win32 system.

NetworkProtocol

23 properties – 0 methods

The Win32_NetworkProtocol class represents a protocol and its network characteristics on a Win32 computer system.

NTDomain

27 properties – 0 methods

The Win32_NTDomain class represents a NT Domain.

NTEventlogFile

39 properties – 16 methods

CIM_DataFile is a type of logical file that is a named collection of data or executable code.

NTLogEvent

16 properties – 0 methods

This class is used to translate instances from the NT Eventlog.

OnBoardDevice

20 properties – 0 methods

The Win32_OnBoardDevice class represents common adapter devices built into the motherboard (system board).

OperatingSystem

64 properties – 5 methods

The Win32_OperatingSystem class represents an operating system installed on a Win32 computer system.

PageFileSetting

6 properties – 0 methods

The Win32_PageFileSetting class represents the settings of a page file.

PageFileUsage

9 properties – 0 methods

The Win32_PageFileUsage class represents the file used for handling virtual memory file swapping on a Win32 system.

PhysicalMemory

30 properties – 0 methods

The Win32_PhysicalMemory class represents a physical memory device located on a computer system as available to the operating system.

PingStatus

24 properties – 0 methods

The Win32_PingStatus class contains the values returned by the standard ping command.

PortableBattery

36 properties – 2 methods

The Win32_PortableBattery class contains the the population of the DMTF|Portable Battery group, as defined in the DMTF Mobile Supplement to Standard Groups, v1.0 (section 3.3.23 of the SMBIOS spec) and describes the attributes of the portable battery(s) for the system.

Printer

86 properties – 11 methods

Capabilities and management of the Printer LogicalDevice.

PrinterConfiguration

33 properties – 0 methods

The Setting class represents configuration-related and operational parameters for one or more ManagedSystemElement(s).

PrinterController

7 properties – 0 methods

The CIM_ControlledBy relationship indicates which devices are commanded by or accessed through the controller logical device.

PrinterDriver

22 properties – 3 methods

A CIM_Service is a Logical Element that contains the information necessary to represent and manage the functionality provided by a Device and/or SoftwareFeature.

PrintJob

29 properties – 2 methods

CIM_Job is a logical element representing a unit of work for a system, such as a print job.

Process

45 properties – 7 methods

The Win32_Process class represents a sequence of events on a Win32 system.

Processor

51 properties – 2 methods

The Win32_Processor class represents a device that is capable of interpreting a sequence of machine instructions on a Win32 computer system.

Product

27 properties – 7 methods

Instances of this class represent products as they are installed by MSI.

QuickFixEngineering

11 properties – 0 methods

The Win32_QuickFixEngineering?WMI class represents a small system-wide update, commonly referred to as a quick-fix engineering (QFE) update, applied to the current operating system.\nStarting with Windows Vista, this class returns only the updates supplied by Component Based Servicing (CBS).

QuotaSetting

9 properties – 0 methods

The Win32_QuotaSetting class contains setting information for disk quotas on a volume.

Registry

8 properties – 0 methods

The Win32_Registry class represents the system registry on a Win32 computer system.

ScheduledJob

19 properties – 2 methods

The Win32_ScheduledJob class represents a job scheduled using the network management schedule service functions (also known as "Job" and "AT command" functions).

SCSIController

31 properties – 2 methods

The Win32_SCSIController class represents a SCSI controller on a Win32 system.

SCSIControllerDevice

7 properties – 0 methods

The Win32_SCSIControllerDevice class represents an association between a Small Computer System Interface (SCSI) controller and the logical device (disk drive) connected to it.

ServerConnection

12 properties – 0 methods

The Win32_ServerConnection class represents the connections made from a remote computer, to a shared resource on the local computer.

ServerSession

13 properties – 0 methods

The Win32_ServerSession class represents the sessions that have been established with the local computer, by users on some remote computer.

Service

25 properties – 12 methods

The Win32_Service class represents a service on a Win32 computer system.

Share

10 properties – 4 methods

The Win32_Share class represents a shared resource on a Win32 system.

SoundDevice

23 properties – 2 methods

The Win32_SoundDevice class represents the properties of a sound device on a Win32 computer system.

StartupCommand

8 properties – 0 methods

The Win32_StartupCommand class represents a command that runs automatically when a user logs onto the computer system.

SystemAccount

9 properties – 0 methods

The Win32_SystemAccount class represents a system account.

SystemDriver

22 properties – 10 methods

The Win32_SystemDriver class represents the system driver for a base service.

SystemEnclosure

37 properties – 1 methods

The Win32_SystemEnclosure class represents the properties associated with a physical system enclosure.

SystemSlot

31 properties – 0 methods

The Win32_SystemSlot class represents physical connection points including ports, motherboard slots and peripherals, and proprietary connections points.

TCPIPPrinterPort

17 properties – 0 methods

The Win32_TCPIPPrinterPort class represents a TCP//IP service access point.

TimeZone

24 properties – 0 methods

The Win32_TimeZone class represents the time zone information for a Win32 system.

USBController

23 properties – 2 methods

The Win32_USBController class manages the capabilities of a Universal Serial Bus (USB) controller.

USBControllerDevice

7 properties – 0 methods

The Win32_USBControllerDevice class represents an association between a Universal Serial Bus (USB) controller and the CIM_LogicalDevice connected to it.

UserAccount

16 properties – 1 methods

The Win32_UserAccount class contains information about a user account on a Win32 system.

UserProfile

29 properties – 1 methods

The Win32_UserProfile class contains information about user profiles on a Windows system.

UTCTime

10 properties – 0 methods

Describes an instance in time as returned by Win32ClockProvider.

VideoConfiguration

30 properties – 0 methods

The Win32_VideoConfiguration class is not active in releases after Windows 2000.

VideoController

59 properties – 2 methods

The Win32_VideoController class represents the capabilities and management capacity of the video controller on a Win32 computer system.

Volume

44 properties – 11 methods

The Win32_Volume class represents an area of storage on a hard disk.

VolumeUserQuota

6 properties – 0 methods

The Win32_VolumeUserQuota association relates per user quotas to quota enabled volumes.

Other Classes


  Community Content

You are cordially invited to add knowledge to this page. If you have sample code or additional information related to this WMI class, please share it. Use the comment form to send your information. We will edit and incorparate it into the reference library. Thank you!

Please do not use the comment form to submit questions. If you have questions or need assistance, visit our free forum: Help me with WMI.

 Content last updated: 2013-12-27 13:50:56 (UTC).

Facebooktwittergoogle_pluspinterestlinkedinFacebooktwittergoogle_pluspinterestlinkedin