Search found 10 matches

by rmerrill
Fri Mar 16, 2018 7:07 am
Forum: PowerShell Studio
Topic: New PowerShell Service Template
Replies: 13
Views: 5899

Re: New PowerShell Service Template

when is the next service build scheduled?
by rmerrill
Wed Mar 14, 2018 8:07 am
Forum: PowerShell Studio
Topic: New PowerShell Service Template
Replies: 13
Views: 5899

Re: New PowerShell Service Template

That does run as desired, yes.
If I build the included code in the zip, it fails to operate properly.
by rmerrill
Tue Mar 13, 2018 7:21 pm
Forum: PowerShell Studio
Topic: New PowerShell Service Template
Replies: 13
Views: 5899

Re: New PowerShell Service Template

services indicates that it is running, get-process says that it is running, and I also see it in the task manager. The event log shows that it was successfully started. I also tried having it append a text file instead of attempting to write to the event log, but the file never is appended.
by rmerrill
Tue Mar 13, 2018 1:36 pm
Forum: PowerShell Studio
Topic: New PowerShell Service Template
Replies: 13
Views: 5899

Re: New PowerShell Service Template

Type out Code Deploy -> Packager -> Settings Script Engine: SAPIEN PowerShell V3 Host (Windows Service) STA Mode unchecked Output Settings: Generate .config file checked Manifest is embed a default manifest run mode is current user Execution Restrictions, version information, build options not touch...
by rmerrill
Mon Mar 12, 2018 11:59 am
Forum: PowerShell Studio
Topic: New PowerShell Service Template
Replies: 13
Views: 5899

Re: New PowerShell Service Template

Trying it with this really simple set of code does not seem to work, I do not see any events in the application log: function Start-MyService { $global:bRunService = $true $global:bServiceRunning = $false $global:testvar = 0 } function Invoke-MyService { $global:bServiceRunning = $true while ($globa...
by rmerrill
Mon Mar 12, 2018 11:02 am
Forum: PowerShell Studio
Topic: New PowerShell Service Template
Replies: 13
Views: 5899

Re: New PowerShell Service Template

is there any way you could open one of those templates, save it as a .ps1 and send it to me so I don't have to type all the comment code in there?
by rmerrill
Mon Mar 12, 2018 9:50 am
Forum: PowerShell Studio
Topic: New PowerShell Service Template
Replies: 13
Views: 5899

New PowerShell Service Template

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: PowerShell Studio ...
by rmerrill
Fri Jan 26, 2018 3:25 pm
Forum: PowerShell GUIs
Topic: Capture Verbose output in a textbox.
Replies: 6
Views: 2765

Re: Capture Verbose output in a textbox.

I read through the post on creating responsive forms and this thread which you helped someone:
viewtopic.php?t=6933

I have gotten the job working, but I am not sure what to put in the updatescript code block to capture the verbose text and use it in a form text box.
by rmerrill
Fri Jan 26, 2018 8:18 am
Forum: PowerShell GUIs
Topic: Capture Verbose output in a textbox.
Replies: 6
Views: 2765

Re: Capture Verbose output in a textbox.

Then how do I capture console to the text box in real time? I said I had redirected VERBOSE (4) to the console already and that it doesn't update until the end of the process.
by rmerrill
Thu Jan 25, 2018 4:47 pm
Forum: PowerShell GUIs
Topic: Capture Verbose output in a textbox.
Replies: 6
Views: 2765

Capture Verbose output in a textbox.

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: 32 or 64 bit versi...