/
Service_Create
Service_Create
Description
Creates Windows Service using the specified options
Syntax
Service_Create(sServiceName, sDisplayName, sBinPath) As Boolean
Parameters
sServiceName (String)
Name of service
sDisplayName (String)
Name showed on service-list
sBinPath (String)
Path for binary service-files
Example
VBScript
If bStatus Then bStatus = Service_Create("ServiceName", "DisplayName", "C:\CapaInstaller.exe")
Related functions
Service_Create Service_Exist Service_SetStartMode Service_Start
, multiple selections available,
Related content
$cs.Job_Start
$cs.Job_Start
More like this
CMS_RunSystemAgent
CMS_RunSystemAgent
More like this
Sys_GetSerialNumber
Sys_GetSerialNumber
More like this
Patch Management Service
Patch Management Service
More like this
$cs.Shell_Execute
$cs.Shell_Execute
More like this
PowerShell CMS Functions
PowerShell CMS Functions
More like this