Driverquery command in Windows
The driverquery command allows the admin to display a list of installed device drivers and their properties. If used without parameters, the driverquery command will run on the local computer.
For an example of how to use this command, please see the example below.
Driverquery command syntax
driverquery [/s [/u [] [/p ]]] [/fo {table | list | csv}] [/nh] [/v | /si]
Parameters
Parameter Description / s Specifies the name or IP address of the remote computer. Do not use backslashes. The default is the local computer. / u [] Run the command with login information from the user account as specified by User or Domain * User. By default, ** / s * uses the login information of the user who is currently logged on to the computer issuing the command. The parameter / u cannot be used unless the parameter / s is specified. / p Specifies the password of the user account specified in the / u parameter . The / p parameter cannot be used unless / u is specified. / fo {table List / Ignore the header row from the displayed driver information. Invalid if the / fo parameter is set to list. / v Display detailed output. Invalid parameter / v for signed drivers. / si Provide information about the signed driver. /? Show help at the command prompt.For example
To display a list of device drivers installed on the local computer, enter:
driverquery
To display the output in Comma-Separated Values (CSV) format - a value separated by commas, enter:
driverquery /fo csv
To hide the header row in the output, enter:
driverquery /nh
To use the driverquery command on the remote server named server1, use your current login information on the local computer, enter:
driverquery /s server1
To use the driverquery command on the remote server named server1, use the login information for user1 in the domain maindom, enter:
driverquery /s server1 /u maindomuser1 /pp@ssw3d
See more:
- Diskshadow command in Windows
- Diskperf command in Windows
- Diskcopy command in Windows
You should read it
- 10 commands Windows 7 network administrators need to know
- Del command in Windows
- Set command in Windows
- Cmd command in Windows
- Fc command in Windows
- Command at in Windows
- Bitsadmin getdisplayname and bitsadmin geterror command in Windows
- The echo command in Windows
- Reg command copy in Windows
- Doskey command in Windows
- The command reg add in Windows
- Rem command in Windows
Maybe you are interested
What is a matrix in MATLAB? Commands and usage
How to use the file search command on Windows, find saved files
Why is tldr command better than man command in Linux?
Should I use PowerShell or Command Prompt?
What to do when open command window here does not appear?
How to switch users on the Linux command line