Home Reference WMI Reference root CIMV2 Win32_PrinterDriver


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. A Service is a general-purpose object to configure and manage the implementation of functionality. It is not the functionality itself.

Quick Start


Most WMI properties are read-only. You can only read values but not change them. Few properties are also writeable. You can assign new values to those properties.

Writeable properties are marked with this icon:   


Data type String

The Caption property is a short textual description (one-line string) of the object.


Data type String

The ConfigFile property contains the configuration file for this printer driver, (example: pscrptui.dll).


Data type String

CreationClassName indicates the name of the class or the subclass used in the creation of an instance. When used with the other key properties of this class, this property allows all instances of this class and its subclasses to be uniquely identified.


Data type String

The DataFile property contains the data file for this printer driver, (example: qms810.ppd).


Data type String

The DefaultDataType property indicates the default data type for this printer driver, (example: EMF).


Data type String

The DependentFiles property contains a list of dependent files for this printer driver.


Data type String

The Description property provides a textual description of the object.


Data type String

The DriverPath property contains the path for this printer driver, (example: C:\drivers\pscript.dll).


Data type String

The FilePath property contains the path to the INF file being used, (Example: c:\temp\driver).


Data type String

The HelpFile property contains the help file for this printer driver, (example: pscrptui.hlp).


Data type String

The InfName property contains the name of the INF file being used. The default is ‘ntprint.INF’. This will only be different if the drivers are provided directly by the manufacturer of the printer and not the operating system.


Data type DateTime

The InstallDate property is datetime value indicating when the object was installed. A lack of a value does not indicate that the object is not installed.


Data type String

The MonitorName property contains the name of the of the monitor for this printer driver, (example: PJL monitor).


Data type String

The Name property indicates the driver name for this printer. This is a compound key composed of the Name, Version and SupportedPlatform values.


Data type String

The OEMUrl property provides a world wide web link to the printer manufacturer’s web site. Note that this property is not populated when the Win32.INF file is used and is only applicable for drivers provided directly from the manufacturer.


Data type Boolean

Started is a boolean indicating whether the service has been started ($true), or stopped ($false).


Data type String

StartMode is a string value indicating whether the Service is automatically started by a System, Operating System, etc. or only started upon request.



Data type String

The Status property is a string indicating the current status of the object. Various operational and non-operational statuses can be defined. Operational statuses are “OK”, “Degraded” and “Pred Fail”. “Pred Fail” indicates that an element may be functioning properly but predicting a failure in the near future. An example is a SMART-enabled hard drive. Non-operational statuses can also be specified. These are “Error”, “Starting”, “Stopping” and “Service”. The latter, “Service”, could apply during mirror-resilvering of a disk, reload of a user permissions list, or other administrative work. Not all such work is on-line, yet the managed element is neither “OK” nor in one of the other states.

'OK','Error','Degraded','Unknown','Pred Fail','Starting','Stopping','Service','Stressed','NonRecover','No Contact','Lost Comm'


Data type String

The SupportedPlatform property indicates the operating environments that the driver is intended for. Examples are ‘Windows NT x86’ or ‘Windows IA64’.


Data type String

The scoping System’s CreationClassName.


Data type String

The name of the system that hosts this service


Data type UInt16

The Version property indicates the operating system version that the driver is intended for.

$Version_ReturnValue = 



See Also

Help and Questions

  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 12:21:44 (UTC).