More Monad

Monad continues to inspire me,  I have written about it a few times and am really excited about the long term potential for automation within Windows.  However the casual observer might find it difficult to understand this potential,  in which case I recommend looking at way the Exchange team decided to integrate Monad into Exchange 12 and a recently published example showing how Monad can be used to automate the spell checking of a directory of files, using Words spell checker.  This snip gives you an idea of the power:

$wordApp = New-Object -com Word.Application

get-content (dir *.txt) | foreach {ParseFileForWord $_} | where {!$wordApp.CheckSpelling($_)} | Sort -unique

$wordApp.quit()

 

Steve Richards

I'm retired from work as a business and IT strategist. now I'm travelling, hiking, cycling, swimming, reading, gardening, learning, writing this blog and generally enjoying good times with friends and family

Leave a Reply

Your email address will not be published. Required fields are marked *