Stop Windows Service
Stop a Windows service
Parameters
Section titled “Parameters”Windows service name
Section titled “Windows service name”Required
The name of the Windows Service
Timeout
Section titled “Timeout”Required — Default: 60
Maximum wait time for the service to stop in seconds
Details
Section titled “Details”- Category: Windows service
- Brick ID:
Windows-Service-Stop
Raw JSON definition
Section titled “Raw JSON definition”{ "category": "windowsService", "description": "Stop a Windows service", "developerVendor": "CapaSystems A/S", "displayName": null, "id": "Windows-Service-Stop", "name": "Stop Windows Service", "parameters": [ { "defaultValue": "", "defaultValueObject": null, "description": "The name of the Windows Service", "id": "ServiceName", "name": "Windows service name", "regExValidation": "", "required": true, "type": "TextBox", "value": null, "values": [], "valuesObject": null }, { "defaultValue": "60", "defaultValueObject": null, "description": "Maximum wait time for the service to stop in seconds", "id": "MaxTimeOut", "name": "Timeout", "regExValidation": "", "required": true, "type": "Integer", "value": null, "values": [], "valuesObject": null } ], "powershell": { "base64Encoded": true, "function": "RnVuY3Rpb2..." }, "type": "powerbrick", "version": "2026.7.2.1"}