Bhargav's IT Playground

What does New-ExchangeCertificate –confirm do?

Posted by in Exchange 2007, Exchange 2010, Troubleshooting

Depends who is asking. Let’s assume a scenario where you are trying to create a new self-signed certificate on Exchange 2007 using a script. You run the command “New-Exchange Certificate – Services “IMAP, POP3, IIS, SMTP” –Confirm:$false”. The script stops at a prompt when it tries to confirm overwrite of existing SMTP certificate (because current self-signed certificate is assigned to that function). Since this is breaking your script, you decide to throw in –force to force override of the prompt. Now you face another error: “Parameter set cannot be resolved…read more


How do I check Update Rollup version on Exchange 20xx Server?

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

UPDATED: Feb 26, 2014, updated script to accommodate Exchange 2013 Now that Update Rollup for Exchange Server 2010 is available, I have updated my previous script to check for Update Rollup versions on both Exchange Server 2007 and Exchange Server 2010. No need to have two versions of script. Just download this one! Here’s what has changed between versions: Product GUID has changed to AE1D439464EB1B8488741FFA028E291C (Exchange 2010) from 461C2B4266EDEF444B864AD6D9E5B613 (Exchange 2007). Exchange writes installation information to HKLM\SOFTWARE\Microsoft\ExchangeServer\v14\Setup instead of “HKLM\SOFTWARE\Microsoft\Exchange\Setup” The script below will do the work for you so…read more


Verify Exchange Server Schema Version

Posted by in Exchange 2003, Exchange 2007, Exchange 2010, Exchange 2013

UPDATED Feb 25, 2014 to include Exchange 2013 Service Pack 1 information. Since Microsoft has a dedicated TechNet article on this topic, I will no longer update this post. You can find updated information here: When you run Exchange Setup to prepare schema, usually the very next question is, how do I verify schema was updated successfully? Verifying only the values of attributes as mentioned below is not a good verification of Exchange setup completion. This article is intended to only provide reference to attributes and their values. Let’s…read more


Logs not truncated after VSS Backup in Exchange 2007 SP2 or Exchange 2010

Posted by in Exchange 2007, Exchange 2010, Troubleshooting

Release of Exchange 2007 SP2 brought much awaited feature – VSS Backups! This was exciting. You were now able to take Exchange Server Backups on Windows Server 2008 without third-party backup software. That was until after you ran your first backup, or a few more if you weren’t watching! That is when you noticed that the backups have not failed but the transactions logs did not truncate either! What could go wrong with Exchange? Why is it not truncating logs? The backups have not failed. Trust me, there is nothing…read more


Why is Exchange 2007 SP2 not supported on Windows Server 2008 R2?

Posted by in Exchange 2007, Exchange Server, Supportability

This is a tough question to answer as a PFE when I work with customers for whom, the release of both products came almost around the same timeframe. For many things, we rely on product groups to answer such questions and Exchange Team has answered it on their recent blog post. I am sure there will be many more questions around this post. I am looking forward to reading interesting discussions that will follow. On the lighter side of life, if you are getting ready to shoot someone for this…read more


How to bypass confirmation prompts for Managed Folder Policy

Posted by in Exchange 2007, Exchange Management Shell, PowerShell

When you try to apply managed mailbox folder policy to a mailbox using set-mailbox, you would run a command like this:   set-mailbox -identity mailboxA -ManagedFolderMailboxPolicy "MFPolicy"   This would result in a confirmation prompt   Confirm Are you sure you want to perform this action? …   To avoid the prompt, you instead run command   set-mailbox -identity mailboxA -ManagedFolderMailboxPolicy "MFPolicy" –confirm:$false   However, you will get prompted again with the following:   Confirm When assigning a managed folder mailbox policy… To put it in perspective, the first confirmation…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


Exchange 2007 Service Pack 2 Released

Posted by in Exchange 2007, Exchange Server

Exchange 2007 Service Pack 2 has been released! I in particular have been waiting for this as transition from Exchange 2007 to Exchange 2010 and co-existence of both products in single environment requires Exchange 2007 servers running SP2. If you missed it, it is documented by Exchange Team here in FAQs. If you are like me, I am sure you can’t wait to download Exchange 2007 SP2. Well, wait is over. Head over to the following link and download it now. I already did! Overview Microsoft Exchange Server 2007…read more


Exchange 2007 PowerShell Scripts – What would you like to script?

Posted by in Announcements, Exchange 2007, PowerShell

I am always thinking about how can I script/automate tasks I have to do repeatedly or I see others ask for. I would like to go a step beyond. I would like to ask you – the readers: If you would want to script something for your Exchange 2007 environment, what would it be? I am going to keep comments open on this one so please comment and provide me the list you would like to see scripts on. You can also use contact form if you like.