Template - createServiceListTemplate

Template - createServiceListTemplate

Description :

This command creates a template with all Windows services as assets. This command returns a handle to the newly created template. The handle can be used for other commands that need a reference to the new template.

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

templateName

String

Template name.

groupId

Integer

Handle to the group that should contain the template.

bExplicit

Boolean

True to create an explicit template, false to create an implicit template. (An implicit template is one that does not appear in the GUI.)

Example

The example for createLocalUserListTemplate shows how to create a template for an asset similar to this one.

Was this page helpful? Yes No Submitting... Thank you

Comments