WindowsServiceManager

所属分类:系统编程
开发工具:PowerShell
文件大小:0KB
下载次数:0
上传日期:2022-09-29 17:33:04
上 传 者sh-1993
说明:  Windows服务管理器,,
(WindowsServiceManager,,)

文件列表:
Images/ (0, 2020-07-01)
Images/Task.png (8395, 2020-07-01)
Images/TaskOptionsAdvanced.png (3018, 2020-07-01)
Images/TaskOptionsAgent.png (26827, 2020-07-01)
Images/TaskOptionsDeploymentGroup.png (19810, 2020-07-01)
Images/TaskOptionsInstallation.png (13931, 2020-07-01)
Images/icon.png (38469, 2020-07-01)
LICENSE.md (1075, 2020-07-01)
WindowsServiceManager/ (0, 2020-07-01)
WindowsServiceManager/WindowsServiceManagerV1/ (0, 2020-07-01)
WindowsServiceManager/WindowsServiceManagerV1/DeployWindowsService.ps1 (6581, 2020-07-01)
WindowsServiceManager/WindowsServiceManagerV1/icon.png (2620, 2020-07-01)
WindowsServiceManager/WindowsServiceManagerV1/ps_modules/ (0, 2020-07-01)
WindowsServiceManager/WindowsServiceManagerV1/ps_modules/VstsTaskSdk/ (0, 2020-07-01)
WindowsServiceManager/WindowsServiceManagerV1/ps_modules/VstsTaskSdk/FindFunctions.ps1 (26648, 2020-07-01)
WindowsServiceManager/WindowsServiceManagerV1/ps_modules/VstsTaskSdk/InputFunctions.ps1 (15791, 2020-07-01)
WindowsServiceManager/WindowsServiceManagerV1/ps_modules/VstsTaskSdk/LegacyFindFunctions.ps1 (10959, 2020-07-01)
WindowsServiceManager/WindowsServiceManagerV1/ps_modules/VstsTaskSdk/LocalizationFunctions.ps1 (5394, 2020-07-01)
WindowsServiceManager/WindowsServiceManagerV1/ps_modules/VstsTaskSdk/LoggingCommandFunctions.ps1 (17942, 2020-07-01)
WindowsServiceManager/WindowsServiceManagerV1/ps_modules/VstsTaskSdk/LongPathFunctions.ps1 (8904, 2020-07-01)
WindowsServiceManager/WindowsServiceManagerV1/ps_modules/VstsTaskSdk/Minimatch.dll (18432, 2020-07-01)
WindowsServiceManager/WindowsServiceManagerV1/ps_modules/VstsTaskSdk/OutFunctions.ps1 (3307, 2020-07-01)
WindowsServiceManager/WindowsServiceManagerV1/ps_modules/VstsTaskSdk/PSGetModuleInfo.xml (24428, 2020-07-01)
WindowsServiceManager/WindowsServiceManagerV1/ps_modules/VstsTaskSdk/ServerOMFunctions.ps1 (30014, 2020-07-01)
WindowsServiceManager/WindowsServiceManagerV1/ps_modules/VstsTaskSdk/Strings/ (0, 2020-07-01)
WindowsServiceManager/WindowsServiceManagerV1/ps_modules/VstsTaskSdk/Strings/resources.resjson/ (0, 2020-07-01)
WindowsServiceManager/WindowsServiceManagerV1/ps_modules/VstsTaskSdk/Strings/resources.resjson/de-de/ (0, 2020-07-01)
WindowsServiceManager/WindowsServiceManagerV1/ps_modules/VstsTaskSdk/Strings/resources.resjson/de-de/resources.resjson (1487, 2020-07-01)
WindowsServiceManager/WindowsServiceManagerV1/ps_modules/VstsTaskSdk/Strings/resources.resjson/en-US/ (0, 2020-07-01)
WindowsServiceManager/WindowsServiceManagerV1/ps_modules/VstsTaskSdk/Strings/resources.resjson/en-US/resources.resjson (1264, 2020-07-01)
WindowsServiceManager/WindowsServiceManagerV1/ps_modules/VstsTaskSdk/Strings/resources.resjson/es-es/ (0, 2020-07-01)
WindowsServiceManager/WindowsServiceManagerV1/ps_modules/VstsTaskSdk/Strings/resources.resjson/es-es/resources.resjson (1481, 2020-07-01)
WindowsServiceManager/WindowsServiceManagerV1/ps_modules/VstsTaskSdk/Strings/resources.resjson/fr-fr/ (0, 2020-07-01)
WindowsServiceManager/WindowsServiceManagerV1/ps_modules/VstsTaskSdk/Strings/resources.resjson/fr-fr/resources.resjson (1507, 2020-07-01)
WindowsServiceManager/WindowsServiceManagerV1/ps_modules/VstsTaskSdk/Strings/resources.resjson/it-IT/ (0, 2020-07-01)
WindowsServiceManager/WindowsServiceManagerV1/ps_modules/VstsTaskSdk/Strings/resources.resjson/it-IT/resources.resjson (1473, 2020-07-01)
WindowsServiceManager/WindowsServiceManagerV1/ps_modules/VstsTaskSdk/Strings/resources.resjson/ja-jp/ (0, 2020-07-01)
WindowsServiceManager/WindowsServiceManagerV1/ps_modules/VstsTaskSdk/Strings/resources.resjson/ja-jp/resources.resjson (1572, 2020-07-01)
WindowsServiceManager/WindowsServiceManagerV1/ps_modules/VstsTaskSdk/Strings/resources.resjson/ko-KR/ (0, 2020-07-01)
... ...

# WindowsServiceManager ## Tasks Included Windows Service Manager - Installs and deploys a windows service or [TopShelf](https://github.com/Topshelf/Topshelf) service on a target machine or a deployment group target. This task **does not** copy the binaries from an agent to a target machine. Use a deployment group, or use Microsoft's file copy task to copy the binaries from an agent to the target machine. 1. Locates the service by the **Service Name**. 2. Stops the service. 3. If **Stop process** is selected and the **Timeout** is reached, the process of the service will be stopped. 4. If **Clean binary install** is selected, removes all files in the parent directory of the .exe file. 5. If **Recreate service** is selected, deletes the service and recreates it. 6. Starts the service. ## Install and Run After installing the [Windows Service Manager](https://marketplace.visualstudio.com/items?itemName=MDSolutions.WindowsServiceManagerWindowsServiceManager) extension, open a release and add the 'Windows Service Manager' task. ![Task](https://github.com/Dejulia489/WindowsServiceManager/blob/master/Images/Task.png?raw=true "Task") [![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=M69DLQ52C5RP2¤cy_code=USD&source=url) ## Task Options ### Task Options for Deployment Group ![Task Options](https://github.com/Dejulia489/WindowsServiceManager/blob/master/Images/TaskOptionsDeploymentGroup.png?raw=true "Task Options Deployment Group") 1. **Display name** - The name of the task. 2. **Deployment type** - Deploying with either an Agent or a Deployment Group Target. 3. **Service name** - The name of the Windows Service installed on the Deployment Group Target. 4. **Artifact path** - The path to the Artifact that contains the Windows Service binaries. 5. **Timeout** - The number of seconds to wait for the service to stop. ### Task Options for Agent ![Task Options](https://github.com/Dejulia489/WindowsServiceManager/blob/master/Images/TaskOptionsAgent.png?raw=true "Task Options Agent") 1. **Display name** - The name of the task. 2. **Machines** - Provide a comma separated list of machine IP addresses or FQDNs. Or provide output variable of other tasks. Eg: $(variableName). 3. **Admin login** - Administrator login for the target machines. 4. **Password** - Password for administrator login for the target machines. It can accept variable defined in Build/Release definitions as '$(passwordVariable)'. You may mark variable type as 'secret' to secure it. 5. **Service name** - The name of the Windows Service installed on the Deployment Group Target. 6. **Artifact path** - The path to the Artifact that contains the Windows Service binaries. 7. **Timeout** - The number of seconds to wait for the service to stop. ### Advanced Task Options ![Task Options](https://github.com/Dejulia489/WindowsServiceManager/blob/master/Images/TaskOptionsAdvanced.png?raw=true "Advanced Task Options") 1. **Stop process** - Stops the process if the service does not respond within the timeout. 2. **Clean binary install** - Removes all files inside the parent directory of the .exe file prior to copying the Artifact. 3. **Recreate service** - Deletes and recreates the service. ### Installation Task Options ![Task Options](https://github.com/Dejulia489/WindowsServiceManager/blob/master/Images/TaskOptionsInstallation.png?raw=true "Installation Task Options") 1. **Install the windows service** - Enables service installation. 2. **Start command** - Command to start the executable including arguments. Containing path is also used to Install Artifacts. 3. **Run As username** - The username the service should run as. 4. **Run As password** - The password for the Run As Username. It can accept variable defined in Build/Release definitions as '$(passwordVariable)'. You may mark variable type as 'secret' to secure it. 5. **Install as a TopShelf service** - Enables [TopShelf](https://github.com/Topshelf/Topshelf) installation. 6. **Instance name** - The name of the [TopShelf](https://github.com/Topshelf/Topshelf) instance. 7. **Install arguments** - The TopShelf installation arguments. ## Release Notes #### Version 4.4 Implemented support to set Displayname, Description and StartupType for non TopShelf services. Implemented support for Command Arguments Implemented support to install dotnet based Service Implemented Recreate service flag Fixed Permission issue (add RunAsService Permission while installation) #### Version 4 Implemented support for installing [TopShelf](https://github.com/Topshelf/Topshelf) windows services. #### Version 3 Implemented feature request for installing a service and resolved bug for multiple machine support. #### Version 2 Resolved bug for service name matching, service name will only support exact names. #### Version 1 Supports deployment groups and agents using WinRM. #### Version 0 Supports deployment groups only.

近期下载者

相关文件


收藏者