tag:blogger.com,1999:blog-2328222207349876984.post911575462729491054..comments2024-03-02T15:36:45.785-08:00Comments on SQL Tact: How I Learned to Stop Worrying and Love the PowershellUnknownnoreply@blogger.comBlogger1125tag:blogger.com,1999:blog-2328222207349876984.post-1117592507292247462010-08-11T12:34:33.479-07:002010-08-11T12:34:33.479-07:00Update the post to include a more graceful way to ...Update the post to include a more graceful way to shut down some apps. <br /><br />The problem is that not all apps close when you hit the X button. Some apps (like MSN Messenger and Tweetdeck for example) just sit in the system tray. In that case, use the Stop-Process to kill those. <br /><br />But for firefox, the CloseMainWindow() method prevents the "Well this is embarrassing" session recovery screen the next time you start up the app.whttps://www.blogger.com/profile/04313158818403554742noreply@blogger.com