pc:ServiceList |
Retrieves a list of locally installed Windows services of which the name matches a given pattern. Returns an XML document. See the "Return value" section below. When delivering a USoft application on a Production machine: •Before you deploy the deliverables, use this directive to stop and uninstall all the services in use by USoft. •After you deploy the deliverables, use this directive to install and start all the services that are part of the new deliverables. Syntax
The required pattern is a regular expression. All the locally installed Windows services of which the name matches pattern will be listed in the return value. If pattern has only literal characters (Example 1), all the services of which the name starts with the pattern are listed. CAUTION: The pattern is applied to the service's name, not to the display name that is visible in the Services panel. Example 1 This example gives you all the Windows services of which the name starts with "RulesService".
Example 2 This example gives you all the Windows services installed on the local computer.
Return valueThe return value of Example 1 looks like this:
|