Creating PowerShell Windows Service with PrimalScript
- Details
- Written by Max Trinidad
- Last Updated: 09 October 2019
- Created: 25 June 2018
- Hits: 7453
This video demonstrates how to to create a Windows Service to kill a Solitaire process using SAPIEN’s PrimalScript.
In this short video we show you how to build and install a PowerShell Windows Service, including:
- Create a Windows Service from a PowerShell Service Template
- Add the code from a custom Snippet library
- Build the script Packager
- Build the MSI Installer
- Install / Uninstall the Windows Service
Follow the steps in the video and be creative!
*Note: In Packager Settings > Output Settings, make sure the default value for “Manifest Creation” is changed to “Embed a default manifest”, or the service will fail to run.
Related Articles
- Installing Windows Services Created with PowerShell
- New PowerShell Service Template for PrimalScript 2018
- Write a Windows Service in PowerShell
If you have questions about our products, please post in our support forum.
For licensed customers, use the forum associated with your product in our Product Support Forums for Registered Customers.
For users of trial versions, please post in our Former and Future Customers - Questions forum.
For licensed customers, use the forum associated with your product in our Product Support Forums for Registered Customers.
For users of trial versions, please post in our Former and Future Customers - Questions forum.