Command running on session start

So I know how to do this with $profile. My issue is that I have a command that is clearly running (error thrown when I blocked the session from the outside) when I start a session but have not found somewhere that it is coming from be running. If I run a ps1 file that simply contains a ‘pause’ call I still get it so I’m positive it runs on session start.

It’s not happening when starting through the ise just when I right click – run with Powershell.

Any thoughts? Thanks in advance my searches online have been fruitless

submitted by /u/odoyle71
[link] [comments]

Leave a Reply