title: How to check an exchange mailbox via powershell?
body: <p>How would I go about using powershell to return the text and headers of the last 5 messages received to my exchange email account?  Is there a simple way/library to do this?</p>
  
  <p>This is related to <a href="https://superuser.com/questions/222457/lightweight-alternative-to-outlook-mail-client">my question about not using outlook on superuser</a>. Except that having not found any good alternatives I figure I might as well write my own simple powershell client.</p>