Windows Command/App of the Week: Driverquery



driverquery [/s Computer] [/u Domain\User /p Password] [/fo {TABLE|LIST|CSV}] [/nh] [/v] [/si]


/s Computer : Specifies the name or IP address of a remote computer (do not use backslashes). The default is the local computer.
/u Domain \ User : Runs the command with the account permissions of the user specified by User or Domain\User. The default is the permissions of the current logged on user on the computer issuing the command.
/p Password : Specifies the password of the user account that is specified in the /u parameter.
/fo { TABLE | LIST | CSV } : Specifies the format to display the driver information. Valid values are TABLE, LIST, and CSV. The default format for output is TABLE.
/nh : Omits the header row from the displayed driver information. Valid when the /fo parameter is set to TABLE or CSV.
/v : Specifies that detailed driver information be displayed.
/si : Displays digital signature information for both signed and unsigned device drivers.
/? : Displays help at the command prompt.


The following examples show how you can use the driverquery command:
driverquery /fo csv
driverquery /nh
driverquery /s ipaddress
driverquery /s server1 /u hirpln /v driverquery /s server1 /u maindom\hirpln /p p@ssw3d /fo list

driverquery /fo CSV > drivers.csv


banner ad

Comments are closed.