Windows Service in Powershell 7.*

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 1 year and 1 month old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
jdainsworth
Posts: 25
Last visit: Thu Dec 14, 2023 9:10 am

Windows Service in Powershell 7.*

Post by jdainsworth »

To help you better we need some information from you.

*** 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: PowersShell Studio 2023 (5.8.216)
Operating system: Windows 11
PowerShell version(s): 7.3.*

*** Please add details and screenshots as needed below. ***

Are there any plans to add Windows Service Support for PowerShell 7? I can do some workarounds by creating a parent Windows PowerShell service that has a PowerShell 7 child process but would prefer to stay in PowerShell 7.
User avatar
Alexander Riedel
Posts: 8478
Last visit: Tue Mar 26, 2024 8:52 am
Answers: 19
Been upvoted: 37 times

Re: Windows Service in Powershell 7.*

Post by Alexander Riedel »

Last time we checked the .NET runtime did not like being pressed into service (pun intended).
We can revisit that with a later version of course.
Alexander Riedel
SAPIEN Technologies, Inc.
This topic is 1 year and 1 month old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.