Previous Next

DevCon Resources

Lists the resources allocated to the specified devices. Resources are assignable and addressable bus paths, such as DMA channels, I/O ports, IRQ, and memory addresses. Valid on local and remote computers.

devcon [/m:\\computer] resources {* | ID [ID ...] | =class [ID [ID...]]} 

Parameters

/m:\\computer
Runs the command on the specified remote computer. The backslashes are required.
*
Represents all devices on the computer.
ID
Specifies all or part of a hardware ID, compatible ID, or device instance ID of a device. When specifying multiple IDs, type a space between each ID. IDs that include an ampersand character (&) must be enclosed in quotation marks.

The following special characters modify the ID parameter.
Character Description
* Matches any character or no character. Use the wildcard character (*) to create an ID pattern, for example, *disk*.
@ Indicates a device instance ID, for example, @ROOT\FTDISK\0000.
'

(single quote)

Matches the string literally (exactly as it appears). Precede a string with a single quote to indicate that an asterisk is part of the ID name and is not a wildcard character, for example, '*PNP0600, where *PNP0600 (including the asterisk) is the hardware ID.

=class
Specifies the device setup class of the devices. The equal sign (=) identifies the string as a class name.

You can also specify hardware IDs, compatible IDs, device instance IDs, or ID patterns following the class name. Type a space between each ID or pattern. DevCon finds devices in the class that match the specified IDs.

Comments

The /m parameter must precede the operation name (resources). Otherwise, DevCon ignores the /m parameter and displays the resources allocated to devices on the local computer without returning a syntax error.

Sample Usage

devcon resources *
devcon /m:\\server01 resources =media
devcon resources acpi* *port*
devcon resources =class port* (by class and hardware ID)
devcon resources =class @port*(by class and device instance ID)

Examples

Example 12: List resources of a class of devices

Example 13: List resources of device on a remote computer by ID