July, 2010

Random thoughts of an Exchange PFE

This blog is my effort to document and share interesting details about Exchange Server as I come across them in field, lab and community.
  • Random thoughts of an Exchange PFE

    How to convert a word document to other formats using PowerShell

    • 2 Comments
    I recently borrowed a Sony Reader Touch Edition from someone I know to try it out. As I started using Sony’s own library manager, I quickly got bored. I then tried open source Calibre which turned out to be a lot better interface but had a major flaw when it comes to supporting Sony Reader: It didn’t support importing word documents in the library despite of Sont Reader’s capability to read it. It can however import filtered html files which work can produce. Given my lazy nature...
  • Random thoughts of an Exchange PFE

    Deceiving scopes of variables in a function

    • 0 Comments
    I was recently troubleshooting a script when I came across a problem where a variable with defined scope was not retaining its value even though scope seemed correct. Let’s look at simplified example below: Function Global:Name-ofaFunction { $Global:VariableinQuestion = $null $VariableinQuestion = "Value" $VariableinQuestion } Name-ofaFunction $VariableinQuestion The function “Name-ofaFunction” when called, creates a variable with global scope and sets its value...
Page 1 of 1 (2 items)