Jeff Hicks' Off-the-Wall Challenge: Using PowerShell to read emails
- select the contributor at the end of the page -
To take part in Jeff Hicks' Off-the-Wall PowerShell Challenge, which kicked off on the TrainSignal blog yesterday, Nick Sinclair submitted code that does just that.
"Inspired by your use of SAPI.SPVoice, I just wrote this to check the last 10 messages received in Outlook, and read the unread messages to me," said Nick in his entry. He tested the code on Windows 8 with PowerShell 3.0 and Outlook 2010.
Want to try it yourself? See Nick's code below, and don't forget you still have six days to enter the challenge. One lucky winner will get a one-year subscription to TrainSignal, a $468 value! Find out more about the contest here.