cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Shell execute pass - Powershell Hanging

brandonbollin
Active Participant
0 Likes
2,293

Good morning experts,
I swear I've seen this problem before but I cannot pinpoint where and searching SCN hasn't yielded results.

Anyway, I have a client who's got a Shell execute pass that's doing some work with a CSV file. When the line executes, the Powershell.exe program doesn't seem like it's closing. The instance stays resident in memory until so many instances of it are running in memory that an intervention is necessary to close all the hanging Powershell sessions.

Anyone have any ideas how to make sure the Powershell.exe instance exits once the pass has concluded?

View Entire Topic
former_member2987
Active Contributor
0 Likes

Hey Brandon,

Are you using any command line parameters? You might need /c with that. I think you need it just about any time you do a shell execute from IDM.

You can find a listing of the command line parameters here.

Matt

brandonbollin
Active Participant
0 Likes

I have discussed this answer with our client and they're going to try it. Unfortunately we cannot do this ourselves directly to know if it's successful so I'll update when I have more information. Thanks as always, Matt. 🙂

former_member2987
Active Contributor
0 Likes

No worries, Brandon... You should be able to verify this on a test system easily enough as well.

brandonbollin
Active Participant

Test system? I like the world you live in. 🙂