Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Get SC Extended Info


Obtains and displays extended information about the specified service, driver, type of service, or type of driver.

Note

This workflow is available only for use in Microsoft Windows environments.

 Workflow inputs – Get SC Extended Info

Call Workflow Input

Description

Required

Default Value

connection details

XML document conforming to the Connection Details common object that contains the information required to execute a command via command line.

Yes

n/a

service name

Specifies the service name returned by the getkeyname operation.

Yes

n/a

server name

Specifies the name of the remote server on which the service is located.

 

Note

The name must use the Universal Naming Convention (UNC) format ("/myserver"). To run SC.exe locally, ignore this parameter.

No

Name of server on which the service is located.

service type

Specifies the service name returned by the getkeyname operation.

 

Note

This queryex parameter is not used in conjunction with any other queryex parameters except ServerName.

Conditional

If no service name input then all service names will be returned.

enumeration type

Specifies the type of services or type of drivers to enumerate. The service runs in its own process. It does not share an executable file with other services.

 

Valid values: .share (The service runs as a shared process. It shares an executable file with other services.) interact (The service can interact with the desktop, receiving input from users.)

 

Note

Interactive services must be run under the LocalSystem account.kernelDriver.filesysFile system driver.

No

share

state

Specifies the started state of the service for which to enumerate.

Valid values: active (Specifies all active services), inactive (Specifies all paused or stopped services), all (Specifies all services).

No

active

buffer size

Specifies the size (in bytes) of the enumeration buffer.

No

1024

resume index

Specifies the index number at which to begin or resume the enumeration.

No

0

group name

Specifies the service group to enumerate.

No

All groups

 

 Workflow outputs – Get SC Extended Info

Call Workflow Output

Description

output

XML document consisting of one or more <line> elements that contain the command response. Each <line> element contains an index attribute indicating the order in which the information was returned by the command.

success

Did the operation succeed?

 

Valid values: true, false

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*