*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***
Product, version and build: Powershell Studio 2020 build 5.7.179
32 or 64 bit version of product: 64 bit
Operating system: Windows 10
32 or 64 bit OS: 64 bit
*** Please add details and screenshots as needed below. ***
Is there any detailed documentation and/or examples of creating a windows service via a Windows Service Project? My testing is not going well.
I added a single file to the project (Main) and added a line to invoke it in Startup.pss and it doesn't do anything fancy. On install, the service fails to start. Attempting to manually start it gives the following error:
Code: Select all
Windows could not start the TestServiceProject service on Local Computer.
Error 193: 0xc1
Code: Select all
The TestServiceProject service failed to start due to the following error:
TestServiceProject is not a valid Win32 application.
The OS I'm testing this on is Widows Server 2016.