Emnico in Swindon and its partners
in the UK and Europe provide:

» IT Support Services and Products
» Bespoke Software Development


Contact our Swindon office on:
+44 (0)1793 614 700
to discuss your IT needs.


CLOSE IT
Emnico Logo
Your Virtual Technology Team
Delivering Peak Performance
Category: Type: Order:
Search For:  
Home > Library > List Printer Drivers

List Printer Drivers

This script lists all the printer drivers that have been installed on a computer. It requires the .NET Framework.
Added 283 days ago by Emnico
Download
Review
Back
62Views
This script has been successfully tested by Emnico and is verified to be working.

Source code

$strComputer = "."

$colItems = get-wmiobject -class "Win32_PrinterDriver" -namespace "root\CIMV2" `
-computername $strComputer

foreach ($objItem in $colItems) {
      write-host "Caption: " $objItem.Caption
      write-host "Configuration File: " $objItem.ConfigFile
      write-host "Creation Class Name: " $objItem.CreationClassName
      write-host "Data File: " $objItem.DataFile
      write-host "Default Data Type: " $objItem.DefaultDataType
      write-host "Dependent Files: " $objItem.DependentFiles
      write-host "Description: " $objItem.Description
      write-host "Driver Path: " $objItem.DriverPath
      write-host "File Path: " $objItem.FilePath
      write-host "Help File: " $objItem.HelpFile
      write-host "Inf Name: " $objItem.InfName
      write-host "Installation Date: " $objItem.InstallDate
      write-host "Monitor Name: " $objItem.MonitorName
      write-host "Name: " $objItem.Name
      write-host "OEM Url: " $objItem.OEMUrl
      write-host "Started: " $objItem.Started
      write-host "Start Mode: " $objItem.StartMode
      write-host "Status: " $objItem.Status
      write-host "Supported Platform: " $objItem.SupportedPlatform
      write-host "System Creation Class Name: " $objItem.SystemCreationClassName
      write-host "System Name: " $objItem.SystemName
      write-host "Version: " $objItem.Version
      write-host
}


| Privacy policy | Environmental policy | Site map |