You might also try the "-NonInteractive" argument to the Powershell.exe and see if that allows the exit.
Forum Rules
Bookmarks