To help you better we need some information from you.
*** Please fill in the fields below if you are currently using a Trial Version of the Product. 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: SPS19Setup_5.6.170_110119_x64
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. ***
I have created windows service in powershell, however I have noticed that event log entries are created when the service is run which is not desired. Is there any way to disable this feature? Thank you.
How to disable event log entries in powershell service?
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE 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.
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE 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.
-
- Posts: 7
- Last visit: Wed Sep 16, 2020 4:34 pm
- Alexander Riedel
- Posts: 8478
- Last visit: Tue Mar 26, 2024 8:52 am
- Been upvoted: 37 times
Re: How to disable event log entries in powershell service?
That is not exposed to be used by PowerShell at the moment. For what reason is that bothersome?
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
-
- Posts: 7
- Last visit: Wed Sep 16, 2020 4:34 pm
Re: How to disable event log entries in powershell service?
It's a request by our client. So there is no way to turn off this feature in Powershell Studio? Normal windows services do not automatically create Event Viewer log entries when the service is started/stopped etc.
- Alexander Riedel
- Posts: 8478
- Last visit: Tue Mar 26, 2024 8:52 am
- Been upvoted: 37 times
Re: How to disable event log entries in powershell service?
Not at the moment. We will add the ability in one of the next service builds. Plenty of services create log entries when starting. Specially if they are not system services it adds a security level by being able to audit the start of a third party service. So the default will still be *on*, as it is in the underlying .NET class, but we will add an option to turn it off.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.