Search found 4 matches

by ali.sobh
Fri Aug 24, 2018 8:34 am
Forum: Windows PowerShell
Topic: Powershell service script
Replies: 6
Views: 921

Re: Powershell service script

I forgot to add that the variables/config are in a xml file.
should i package it with the ps1? if yes how?
by ali.sobh
Fri Aug 24, 2018 7:34 am
Forum: Windows PowerShell
Topic: Powershell service script
Replies: 6
Views: 921

Re: Powershell service script

I might not have coded the second script (theexecutionertest) correctly to use the built-in functions for the service.
by ali.sobh
Fri Aug 24, 2018 7:29 am
Forum: Windows PowerShell
Topic: Powershell service script
Replies: 6
Views: 921

Re: Powershell service script

Hi,
I get that when i start the service from service.mcs
by ali.sobh
Fri Aug 24, 2018 6:38 am
Forum: Windows PowerShell
Topic: Powershell service script
Replies: 6
Views: 921

Powershell service script

Hello, I am having a hard time to understand how the PowerShell Service Script works. I have tried the ways in those 2 links: https://www.sapien.com/blog/2017/07/12/write-a-windows-service-in-powershell/ https://www.sapien.com/blog/2018/02/27/new-powershell-service-template-for-primalscript-2018/ Wh...