Search found 2 matches

by lcaffrey
Tue 21. Mar 2017, 13:09
Forum: PCAN-Explorer 5 & Add-ins
Topic: Spawning Powershell session from PCAN macro?
Replies: 3
Views: 3970

Re: Spawning Powershell session from PCAN macro?

I don't want to run PE5 code from the command shell.

I want to invoke Powershell from a PCAN macro (in a pem file) as described above.

I had a look again and figured out what the problem was. I needed to force powershell to set execution rights for the scope of the ps1 script invocation. This ...
by lcaffrey
Mon 20. Mar 2017, 14:06
Forum: PCAN-Explorer 5 & Add-ins
Topic: Spawning Powershell session from PCAN macro?
Replies: 3
Views: 3970

Spawning Powershell session from PCAN macro?

Hi,

I am trying to spawn a powershell program from PCAN VBScript. I have it working in windows VBScript but cannot get it working using the engine in PCAN Explorer. The motivation here is to pop up a dialog to the person creating the trace file so that they can save it to a named network location ...