You can start Resource Explorer from the Configuration Manager console. Alternatively, you can start it from the command line by specifying one of the following:

When using Resource Explorer from the command line, you might also need to specify a collection that the resource belongs to, for example, if the user does not have appropriate security credentials to access all resources, but has credentials for accessing specific collections.

Using Resource Explorer from the command line is frequently a faster way to view data than using the Configuration Manager console for occasional inventory data review or for accessing client inventory information from a computer that does not have the Configuration Manager 2007 console installed.

To start Resource Explorer by specifying a resource identifier

  1. Click Start and then Run

  2. In the Run dialog box, enter the following command to open Resource Explorer:

      Copy Code
    <console path>\resourceexplorer.msc -s -sms:ResourceID=<n> -sms:Connection=<namespace path>
    

Comments

When entering the command to start Resource Explorer by specifying a resource identifier:

  • <console path> is the full path to resourceexplorer.msc. If you are starting Resource Explorer from the Run dialog box, you must enter the full path to resourceexplorer.msc:
    <install drive letter>\sms\adminui\bin\resourceexplorer.msc.

  • <n> is the ResourceID of the Configuration Manager client that you want to display inventory for.

  • <namespace path> is the path to the Windows Management Instrumentation (WMI) namespace that contains the client data (\\<site server name>\root\sms\site_<site code>)

Example

The following command displays inventory data for the client associated with ResourceID=1:

  Copy Code
c:\sms\adminui\bin\resourceexplorer.msc -s -sms:ResourceID=1 -sms:Connection=\\<site server name>\root\sms\site_<site code>

To start Resource Explorer by specifying computer name

  1. Click Start and then Run

  2. In the Run dialog box, enter the following command to open Resource Explorer:

      Copy Code
    <console path>\resourceexplorer.msc -s -sms:ResExplrQuery="SELECT ResourceID FROM SMS_R_SYSTEM WHERE Name = "<computer name>" -sms:Connection=<namespace path>
    
    Note
    Your query might return more than one instance, but Resource Explorer only displays the first instance that is returned.

Comments

When entering the command to start Resource Explorer by specifying a computer name:

  • <console path> is the full path to resourceexplorer.msc. If you are starting Resource Explorer from the Run dialog box, you must enter the full path to resourceexplorer.msc:
    <install drive letter>\sms\adminui\bin\resourceexplorer.msc.

  • <computer name> is the name of the computer Resource Explorer will attempt to display inventory data for.

  • <namespace path> is the path to the Windows Management Instrumentation (WMI) namespace that contains the client data (\\<site server name>\root\sms\site_<site code>)

Example

The following command displays inventory data for the client named MyComputer:

  Copy Code
c:\sms\adminui\bin\resourceexplorer.msc -s -sms:ResExplrQuery="Select ResourceID FROM SMS_R_System WHERE Name = "MyComputer" -sms:connection=\\<site server name>\root\sms\site_<site code>

To start Resource Explorer by specifying a resource in a specific collection

  1. Click Start and then Run

  2. In the Run dialog box, enter the following command to open Resource Explorer:

      Copy Code
    <console path>\resourceexplorer.msc -s -sms:CollectionID=<Collection ID> -sms:ResExplrQuery=<WQL Query> -sms:Connection=<namespace path>
    

Comments

When entering the command to start Resource Explorer by specifying a resource in a specific Collection:

  • <console path> is the full path to resourceexplorer.msc. If you are starting Resource Explorer from the Run dialog box, you must enter the full path to resourceexplorer.msc:
    <install drive letter>\sms\adminui\bin\resourceexplorer.msc.

  • <Collection ID> is the CollectionID of the Configuration Manager collection that the resource is a member of. This option may be necessary for administrators who do not have permissions to query the All Systems collection.

  • <WQL Query> is a valid WQL query that will determine the ResourceID for a resource, located within the specified collection, that you want to display inventory data for.

  • <namespace path> is the path to the Windows Management Instrumentation (WMI) namespace that contains the client data (\\<site server name>\root\sms\site_<site code>)

Example

The following command displays inventory data for the client named MyComputer located in the custom Tier 2 Admin collection:

  Copy Code
c:\sms\adminui\bin\resourceexplorer.msc -s -sms:CollectionID=<Tier 2 Admin collection's Collection ID> -sms:ResExplrQuery "Select ResourceID FROM SMS_R_System WHERE Name = "MyComputer"-sms:Connection=\\<site server name>\root\sms\site_<site code>

See Also