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

Shell execute pass - Powershell Hanging

brandonbollin
Active Participant
0 Likes
2,297

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
0 Likes

If you are using command line you need to add this lines before calling the ps1 file

-NoLogo -Noninteractive -InputFormat None -NoProfile