Search found 5 matches

by DanielStockinger
Mon Feb 10, 2020 10:56 pm
Forum: PowerShell Studio
Topic: Shared = True - not saved
Replies: 2
Views: 1883

Shared = True - not saved

Hello, At First i Created a Project. In this Project i have some psm1 Files Referenced. Project.png I would like, that the psm1 Files would be included during the Build Process to the .exe File. So i found out, that i have to set Build to Include and Shared to True for all the psm1 Files. Psm1.png B...
by DanielStockinger
Wed Jan 15, 2020 12:28 am
Forum: PowerShell
Topic: Windows Service - Stop Service - Restart Service
Replies: 7
Views: 4768

Re: Windows Service - Stop Service - Restart Service

thanks for the suggestion
by DanielStockinger
Tue Jan 14, 2020 11:54 pm
Forum: PowerShell
Topic: Windows Service - Stop Service - Restart Service
Replies: 7
Views: 4768

Re: Windows Service - Stop Service - Restart Service

Thank you for the informations. There is already a message box for services if they cannot start. Please see the Image. http://social.technet.microsoft.com/Forums/getfile/438184 I would like to do a few PreChecks, and if they were unsuccessful, I would like to display such a messagebox. Regards Daniel
by DanielStockinger
Tue Jan 14, 2020 4:27 am
Forum: PowerShell
Topic: Windows Service - Stop Service - Restart Service
Replies: 7
Views: 4768

Re: Windows Service - Stop Service - Restart Service

Hi,

thanks for your Answer. This make sense.

Is it possible to show a Messagebox if the Service failed to start?

Thanks

Regards
Daniel
by DanielStockinger
Wed Jan 01, 2020 10:25 pm
Forum: PowerShell
Topic: Windows Service - Stop Service - Restart Service
Replies: 7
Views: 4768

Windows Service - Stop Service - Restart Service

Hi, Happy New Year to everyone. First Question: I would like to do some Checks in the Invoke-MyService Function, when the check fail, i would like to Stop the Service. Is this possible? This is, what i tried, but this doesn't work. In the EventViewer => Application I found the Error Message from the...