title: Reading email from Exchange account inbox using Powershell in Exchange 2013
body: <p>I am trying to find a way to be able to read an inbox of an account in timed interval with powershell, but am coming across an issue. I have been looking into solutions such as the following <a href="http://support.microsoft.com/kb/310244/en-us" rel="nofollow noreferrer">http://support.microsoft.com/kb/310244/en-us</a>, but i need to be able to read in the account just using username and password in the command string or script, not using Credentials Profile. How can I do this? I do not want a spoon feeding, but any references or pointers wold be greatly appreciated.</p>
  
  <p>BTW, the only question I a, asking here is how can I read an accounts inbox from exchange, being able to set an account in the script, and run it from within the network anywhere, instead of having to reside on that machine.  </p>
  
  <p>P.S. Need this for Exchange 2003 and or just basic smtp server.</p>