Search found 13305 matches

by jvierra
Mon Mar 25, 2019 12:51 am
Forum: PowerShell GUIs
Topic: Marquee - progress bar how to use it?
Replies: 6
Views: 105

Re: Marquee - progress bar how to use it?

The example is part of PowerShell Studio. It is on the toolbox panel on the tab for custom control sets.
by jvierra
Sun Mar 24, 2019 3:45 pm
Forum: PowerShell GUIs
Topic: Packager engine requirements
Replies: 13
Views: 136

Re: Packager engine requirements

I can buy that right down the road. I'll have to get some tomorrow and try it.
Thanks.
by jvierra
Sun Mar 24, 2019 3:24 pm
Forum: PowerShell GUIs
Topic: Packager engine requirements
Replies: 13
Views: 136

Re: Packager engine requirements

There must be at least one good ale in all of the austral. New Zealand has vert good beer and ale. Drank a lot of that in Christ Church and McMurdo.
by jvierra
Sun Mar 24, 2019 3:14 pm
Forum: PowerShell GUIs
Topic: Packager engine requirements
Replies: 13
Views: 136

Re: Packager engine requirements

Then we will have Foster's unless you know of a killer Aussie ale.
by jvierra
Sun Mar 24, 2019 2:26 pm
Forum: PowerShell GUIs
Topic: Packager engine requirements
Replies: 13
Views: 136

Re: Packager engine requirements

Make it a Rolling Rock or Yuengling and its a date.
by jvierra
Sun Mar 24, 2019 1:51 pm
Forum: PowerShell GUIs
Topic: Packager engine requirements
Replies: 13
Views: 136

Re: Packager engine requirements

Go into the "options" "designer" "Enable PowerShell V2 assembly compatibility" and check the box. This should remove the "#requires -Version 3" from the PS1 file.
by jvierra
Sat Mar 23, 2019 8:07 pm
Forum: Windows PowerShell
Topic: Windows Service Validation Check to Inhibit Service Start
Replies: 9
Views: 137

Re: Windows Service Validation Check to Inhibit Service Start

Yes. That is the run flag. Look a the processing loop. It will only enter the loop if the flag is true. When false, the service exits.

Just that simple.
by jvierra
Sat Mar 23, 2019 7:14 pm
Forum: Windows PowerShell
Topic: Windows Service Validation Check to Inhibit Service Start
Replies: 9
Views: 137

Re: Windows Service Validation Check to Inhibit Service Start

You cannot exit from q service. You can only set the run flag to end the service. When you want to not run the service set the run flag to false and return from the method. The service will terminate immediately.
by jvierra
Sat Mar 23, 2019 11:24 am
Forum: Windows PowerShell
Topic: Windows Service Validation Check to Inhibit Service Start
Replies: 9
Views: 137

Re: Windows Service Validation Check to Inhibit Service Start

What prereqs are you referring to? A service can check anything during start and abort the start. Just add the code that checks into the start event and then abort the start event if the checks fail.
by jvierra
Fri Mar 22, 2019 12:23 pm
Forum: Windows PowerShell
Topic: Count of Files
Replies: 13
Views: 382

Re: Count of Files

Once again. Please do not psot images of code. It is useless to anyone viewing this forum. Use the code posting tools provided.