Cory Posted October 5, 2014 Report Share Posted October 5, 2014 I had a problem with a server where multiple administrators would try to log in resulting in multiple instance of MEP crashing into each other to do administrative tasks. I started to write a start-up macro that would conditionally abort launch if an instance was already running but MEP cannot 'see' processes running under other users. Since PowerShell can see processes for all users I wrote this little script that will launch MEP only if it's not already running regardless of user. Thought I'd post it here in case anyone might benefit from it. if (-Not (Get-Process "MacExp" -ErrorAction SilentlyContinue | Where-Object {-not $_.HasExited })) { & "C:\Program Files (x86)\Macro Express Pro\MacExp.exe" } Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.