Bhargav's IT Playground

How to find .NET Framework version using PowerShell

Posted by in PowerShell

Often times when I am getting ready to install Exchange 2016 or Exchange 2013, I look at pre-requisites and wonder if correct version of .NET Framework is already installed on the server or not. It certainly saves me time if it is already installed and depending on status of latest OS patch installation, it is highly likely that the required framework is already installed. I think I have written a script in past but never published it. And can’t find anymore. So I just searched and found a script from…read more


Reading email headers using apps for Outlook

Posted by in Exchange 2013, Exchange Server

Not too long ago, my fellow Exchange Server MVP Paul Cunningham recently published an article “Email Fundamentals: How to Read Email Message Headers” on his blog. Just like he mentioned, it’s pretty fundamental to emails but many struggle to read the headers and interpret it properly. I am all for making things easier. I will certainly not repeat what has already been said on his blog but wanted to complement his article with some more information. Exchange 2013 introduced integration with Apps for Office and Apps for Outlook. This opened…read more


What does Heartbleed vulnerability mean to you

Posted by in Security, Technology

A lot has been said lately of Heartbleed since its announcement few days ago. However, as it goes with overload of information at times, media attention has managed to create mass confusion and hysteria on this topic. Hopefully this post will help answer some of your questions. Let’s try to break it down The Vulnerability The issue stems from a bug in OpenSSL’s implementation of TLS heartbeat extensions. While trying to optimize use of resources when decrypting/encrypting SSL traffic, programming mistake is claimed to have created this vulnerability. Such is…read more


Exchange 2003 support and Windows Server 2008 R2 Domain Controllers

Posted by in Exchange 2003, Exchange 2007

When I originally wrote this post, Windows Server 2008 R2 Domain Controllers were not supported for Exchange 2003, however, in recent months the guidance from product team has changed and new support guidance now includes Windows Server 2008 R2 Domain Controllers as supported configuration. Please refer to this article on Technet for more information. MS Exchange Team recently published an article on Exchange 2007 Supportability Matrix. As I read more into it and look at the accompanying article on Technet, it is noteworthy that we talk about Exchange 2003 support as well. I…read more


Force Mount-Database

Posted by in Exchange 2007, Exchange Management Shell, Exchange Server, PowerShell

I wanted to mount All mailbox databases from all servers that had them. This was a scenario where I had servers recovered with no DB files. I did not need them, I was going to start with empty databases. The command was going to be simple: Get-MailboxDatabase | Mount-Database -Confirm:$false Except that this command had a major flaw. Can you guess?


Exchange 2007 Setup Error: Setup Cannot use Domain Controller…

Posted by in Exchange 2007, Exchange Server, Setup, Troubleshooting

On one of my tests I was trying to add Hub role to a server that already had Mailbox role installed. When I started the setup, I got an error and pre-requisite check failed with error “Setup cannot use domain controller ‘’ because an override is set in the registry.” I then tried to run setup with “/domaincontroller” which failed with same error as well. It was interesting. What could be causing this issue? I remembered that few minutes ago I had run command: Set-ExchangeServer -Identity exch1 -StaticExcludedDomainControllers…read more


CustomAttribute is too long

Posted by in Exchange 2007, Exchange Server

I recently had an opportunity to learn about an issue that I have not seen personally but I found it very interesting. When you introduce Exchange Server in your environment, it extends Active Directory Schema and User Class is updated with additional attributes ms-Exch-Extension-Attribute-1 through ms-Exch-Extension-Attribute-15 among others. These attributes allow you to store values that you can use for various reasons. Some applications are designed to make use of them as well. The custom attributes are created as defined by Exchange setup routine. Now the problem that I learned…read more