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
May be interested
- Rem command in Windowsthe rem command helps write comments (comments) in a batch file or config.sys.
- Instructions for using Command Promptdeep in windows is a command-line world that is obscure. in this article, we will show you how to solve errors and make your computer more secure.
- Rd command in Windowsthe rd command helps delete a directory
- Cmd command in Windowsthe cmd command starts a new version of the command interpreter, cmd.exe. if used without parameters, cmd will display copyright information and the version of the operating system.
- How to use the command history function in Command Promptcommand prompt is an extremely familiar command for anyone using windows operating system. besides, a lot of current software also supports the command line to perform actions on the command prompt window, instead of on the screen.
- The sfc command in Windows(applies to windows server (semi-annual channel), windows server 2016, windows server 2012 r2, windows server 2012)
- Reg command copy in Windowsto copy an entry to the location specified on the local pc or the remote computer we will use the reg copy command. to learn more about how to use the reg copy command, you can track the syntax, explain the command parameters and the example tipsmake.com has compiled below.
- Fc command in Windowsthe fc command compares two files or a collection of files and displays the differences between them.
- The echo command in Windowsthe echo command displays the message or turns on / off the command repeat feature. if used without parameters, the echo command will display the current echo setting.
- Xcopy command in Windowsthe xcopy command is a command prompt command used to copy one or more files or folders from one location to another. with many options and the ability to copy entire directories, the xcopy command is similar to, but much more powerful, than the copy command.