Powershell blog takes on booleans

More details about the “True”/”False” vs $true/$false behavior posted to the Powershell team blog (Boolean Values and Operators) over the weekend. I’m very relieved (“whew!”) to see they reached same conclusion as my Exchange-related blog post (When ‘false’ means $true), but with a bit more detail provided thanks to Jeffrey Snover.


Scriptacular Demo Pack 2007

Finally, I’m able to “scoop” the EHLO team blog on something. And all it took was Nino being OOF to vacation while I am not! 🙂 Last night Vivek posted the much-anticipated “Scriptacular Demo Pack” for Exchange Server 2007 to his blog. This is a great ZIP file with Powershell scripts you’ve proably seen Vivek…


When ‘false’ means $true

Recent customer question: “Why does it treat the boolean as ‘true’ when I explicitly entered ‘false’?”. This question is normally followed up by something like “This is obviously a bug since when I tell it ‘true’ works just fine.” Great real world example syntax that will exhibit this behavior would be setting a RecipientFilter to…


How many mailboxes on each of my mailbox databases?

Recent question across my mailbox: “How can I get a count of how many mailboxes are on each of my mailbox databases?” The simple answer is to use something like this: Get-Mailbox -ResultSize Unlimited | Group-Object Database | Format-Table Name, Count You can refine it further (with -Server parameter or some other Filter details), if you…