Search found 66 matches

by njcappa
Wed Oct 31, 2018 6:33 pm
Forum: PowerShell Studio
Topic: Alter %HomePath%\Script Applications\Product Name path
Replies: 1
Views: 1647

Alter %HomePath%\Script Applications\Product Name path

Product, version and build: 2018 32 or 64 bit version of product: 64 Operating system: 10 32 or 64 bit OS: 64 Hi - I wondered is there is a way to change the single user product install path for the MSI? Currently it's set to %HomePath%\Script Applications\Product Name I'd like to change that, if at...
by njcappa
Mon Oct 29, 2018 8:51 am
Forum: PowerShell Studio
Topic: Breakpoints from all Files
Replies: 2
Views: 1595

Re: Breakpoints from all Files

Thanks, David. I'll file one.
by njcappa
Sun Oct 28, 2018 8:26 am
Forum: PowerShell Studio
Topic: Breakpoints from all Files
Replies: 2
Views: 1595

Breakpoints from all Files

Product, version and build: 2018 32 or 64 bit version of product: 64 Operating system: 10Pro 32 or 64 bit OS:64 Hi All, I wanted to confirm something: when I'm working within a project (multiple files), and I click on the "Edit Breakpoints" menu button, I see the breakpoints for that speci...
by njcappa
Mon Sep 24, 2018 6:47 am
Forum: PowerShell
Topic: EXE - Exit (close) Actions
Replies: 9
Views: 4012

Re: EXE - Exit (close) Actions

Thanks again, jvierra.

I appreciate the efforts on putting something like this together.
by njcappa
Sat Sep 22, 2018 7:36 am
Forum: PowerShell
Topic: EXE - Exit (close) Actions
Replies: 9
Views: 4012

Re: EXE - Exit (close) Actions

Thank you for all the information guys!

I'll take a look at the example code from jvierra and see if I can work that into what I need to accomplish.
by njcappa
Fri Sep 21, 2018 1:04 pm
Forum: PowerShell
Topic: EXE - Exit (close) Actions
Replies: 9
Views: 4012

Re: EXE - Exit (close) Actions

sorry, just to clarify, I mean this:

https://imgur.com/a/XywBbxJ

if this is still the windows form, then how would I call an action to take place if someone closes it?

thanks
by njcappa
Fri Sep 21, 2018 12:09 pm
Forum: PowerShell
Topic: EXE - Exit (close) Actions
Replies: 9
Views: 4012

EXE - Exit (close) Actions

Hi All,

If I have a script that I build into an exe (no win forms), is there a way for me to preform an action if the user clicks on the X close button?
I ask because I'd like to perform a number of clean up actions.

Thanks
by njcappa
Mon Sep 17, 2018 8:38 am
Forum: PowerShell
Topic: Iterate through CSV for System.Diagnostics.Process object
Replies: 1
Views: 1358

Iterate through CSV for System.Diagnostics.Process object

Hi All, I'm attempting to use the attached psf (which invokes the System.Diagnostics.Process object), to run an exe and output the results. In the example psf, the "$process.StartInfo.Arguments" value calls arguments for ping, but what actually I need to do is to have it call a value from ...
by njcappa
Mon Sep 17, 2018 7:59 am
Forum: PowerShell Studio
Topic: Start-Job - Real time Updates
Replies: 5
Views: 2373

Re: Start-Job - Real time Updates

I'll do that, thanks again, David.
by njcappa
Sat Sep 15, 2018 9:36 am
Forum: PowerShell Studio
Topic: Start-Job - Real time Updates
Replies: 5
Views: 2373

Re: Start-Job - Real time Updates

David, I had a quick follow up question, to the link you posted regarding output redirect, above. In the example code, the $process.StartInfo.Arguments = '' line points to the ping arguments one would use, but I have a CSV file that I need to import, and have this $process.StartInfo.Arguments refere...