Exchange Server Share

December 11, 2009

Announcing Microsoft Unified Communications – User Group, India!

It is our great pleasure to announce the formation of Microsoft Unified Communications – User Group, India. “Microsoft Unified Communication User Group – India” is an independent group is focused on encouraging communication between IT Professionals motivated by self-interest in Microsoft Unified Communication products like…

  • Microsoft Exchange Server
  • Microsoft Office Communication Server (OCS)
  • SharePoint Server (MOSS & WSS)

We understand the value of networking & knowledge transfer and would like to take opportunity to assist and inspire all Unified Communication IT Professionals through this platform. This User Group is designed as an Information Resource where Unified Communication Professionals can find:

  • Articles,
  • How-To(s),
  • Technical Videos,
  • Unified Communication Industry News,
  • Forums (to discuss technical things),
  • New Product features and
  • Product understanding.

Though this User Group is based out of India, there will be no regional boundaries as “Microsoft Unified Communication User Group – India” will host Virtual Monthly Meetings regularly and occasional In-person Events to increase the awareness of Microsoft Unified Communication products. We will also host guest speakers comprising of Experts in the Unified Communications space.

We welcome your contributions and memberships along with your valuable feedback for the site.

Visit Us @ http://muc-ug.org.in
Register @ http://muc-ug.org.in/index.php/join-us.html
Invite Friends to Grow Community @ http://www.muc-ug.org.in/index.php/invite-friends.html

Subscribe to MUC-UG, India RSS Feeds:

Full RSS Feed
MUC-UG.org.in

Segregated RSS Feeds
 News
 Events
 Articles & How-Tos

Follow MUC-UG, India on Social Networking Sites:

Follow MUC-UG on Twitter Connect on LinkedIn Join Orkut Become Facebook Fan

October 1, 2009

Exchange 2007 SP2: Self-Signed Certificate Validity Changed

Filed under: Exchange,Exchange 2007,PowerShell — Amit Tank @ 12:16 am

When we install Exchange 2007, by default it install a self-signed certificate with one year validity. This causes a problem for the Admins when a year completes, specially when they are not much familiar with Powershell Cmdlets because self-signed certificate can be renewed with EMS cmdlets only.

However it is pretty simple to renew self-signed certificate and requires going through below 4 steps only.

  • Get the list of Exchange Certificates with below cmdlet and note the ThumbPrint of the certificate which is about to expire or already expired but still some services are attached with it.

Get-ExchangeCertificate | FL ThumbPrint, isSelfSigned, NotBefore, NotAfter, Services

  • Create a new certificate for the expiring certificate.

Get-ExchangeCertificate “ThumbPrintOfExpiringCertificate” | New-ExchangeCertificate

  • When you create new certificate, by default it is enabled for POP, IMAP and SMTP services based on old certificate properties but if old certificate is enabled for IIS services too, then you need to enable IIS service for new certificate manually with below cmdlet.

Enable-ExchangeCertificate -ThumbPrint “ThumbPrintOfNewCertificate” -Services IIS

  • Remove old certificate since it is no more required.

Remove-ExchangeCertificate –ThumbPrint “ThumbPrintOfExpiringCertificate”

So what’s new with Exchange 2007 Service Pack 2?

Fresh installation of Exchange 2007 Service Pack 2 issues a self-signed certificate with 5 Years of validity. Yes, so you don’t have to renew self-signed certificate every year. This is a big relief for small organizations when they don’t use a certificate issued by anyone of the trusted 3rd party CAs.

Note: Self-Signed certificate validity doesn’t change in case of upgradation of existing Exchange 2007 or Exchange 2007 Service Pack 1 Server to Exchange 2007 Service Pack 2.

Since this change is already implemented in Exchange 2007 Service Pack 2, hopefully we can expect the similar behavior in Exchange 2010 by the time it RTMs !?!?! :)

September 9, 2009

Exchange 2007 Service Pack 2 Shell Help

Filed under: EMS TitBit,Exchange,Exchange 2007,PowerShell — Amit Tank @ 9:51 am

Another goodies for Exchange 2007 Service Pack 2, Shell Help file. The Microsoft Exchange Server 2007 Exchange Management Shell Help file helps you use cmdlets in the Exchange Management Shell to perform day-to-day administration of Exchange 2007. You can view help in the Exchange Management Shell by using the Get-Help cmdlet. This Help file applies to the Microsoft Exchange Server 2007 Service Pack 2 (SP2) version of Exchange Server 2007.

Download: http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=ab3523a9-d502-420d-9719-9373fa2427ba#tm

August 5, 2009

Exchange 2007: OWA Themes Selection

Filed under: Exchange,Exchange 2007,OWA,PowerShell — Amit Tank @ 5:14 pm
Tags: , , ,

End-user can choose the OWA appearance from 4 different themes available by default in Exchange 2007 SP1.

Users need to go to, Options –> General Settings –> Appearance –> Select Anyone…

  • Seattle Sky (Default OWA Theme)
  • Carbon Black
  • Xbox®
  • Zune

Q: What to do if this option is not visible in OWA?
A: This options is visible only if ThemeSelectionEnabled option enabled on OWA virtual directory. You can verify it with below cmdlet.

Get-OwaVirtualDirectory "owa (default web site)" | FL Name, ThemeSelectionEnabled

If value of ThemeSelectionEnable option shows False, you can set it to true with below cmdlet.

Set-OwaVirtualDirectory "owa (default web site)" –ThemeSelectionEnabled $True

Q: What to do if you want to force anyone of the theme globally for all users?
A: You can set the theme globally for all users with “DefaultTheme” parameter of Set-OwaVirtualDirectory cmdlet.

Question is how do we give the name of theme since powershell doesn’t support special character available in the name of themes, like Xbox® & Zune™. Instead of giving name of theme we can give the directory name of the theme where the files of a theme are located.

You can find all theme directories at “C:\Program Files\Microsoft\Exchange Server\ClientAccess\Owa\8.1.xxx.x\themes” (where xxx.x differs based on the SP & UR installed).

Directory Name Theme
Base Seattle Sky
1 Carbon Black
2 Xbox®
3 Zune

So we can pass the directory name in the “DefaultTheme” parameter of Set-OwaVirtualDirectory cmdlet to select the default theme globally. To select Xbox theme globally we can run below cmdlet and restart the IIS service to make it effective.

Set-OwaVirtualDirectory "owa (default web site)" -DefaultTheme 2 -ThemeSelectionEnabled $False
IISReset /NoForce

Q: What happens if we don’t disable Theme Selection while setting up specific theme globally?
A: You would have seen that I added a parameter “ThemeSelectionEnabled” with value $False to disable Theme Selection while setting up OWA theme globally.

If ThemeSelectionEnable option is set to $True while setting up OWA theme globally, it applies only on the users who login first time in OWA, and for the users who have already login, don’t see new theme applied and they need to choose from Options –> General Settings manually.

But ThemeSelectionEnable optionis set to $False, new theme applies to all users in the organization.

Default OWA Themes

Seattle Sky

Carbon Black

Xbox®

Zune

July 27, 2009

Exchange 2007: Database Statistics in Powershell

Many times we need to find number of mailboxes in each database and the size of the database (EDB file) of all servers in an Exchange 2007 environment. With PowerShell, it is fairly simple to grab in a single line.

1.  How do we find number of mailboxes in each database?

On Screen: Get-MailboxDatabase | Select Server, StorageGroupName, Name, @{Name="Number Of Mailboxes";expression={(Get-Mailbox -Database $_.Identity | Measure-Object).Count}} | Format-Table -AutoSize

Export to CSV: Get-MailboxDatabase | Select Server, StorageGroupName, Name, @{Name="Number Of Mailboxes";expression={(Get-Mailbox -Database $_.Identity | Measure-Object).Count}} | Export-Csv C:\ServerStat-1.csv

2.  How do we find number of mailboxes and size of EDB file for each Database?

On Screen: Get-MailboxDatabase | Select Server, StorageGroupName, Name, @{Name="Size (GB)";Expression={$objitem = (Get-MailboxDatabase $_.Identity); $path = "`\`\" + $objitem.server + "`\" + $objItem.EdbFilePath.DriveName.Remove(1).ToString() + "$"+ $objItem.EdbFilePath.PathName.Remove(0,2); $size = ((Get-ChildItem $path).length)/1048576KB; [math]::round($size, 2)}}, @{Name="Size (MB)";Expression={$objitem = (Get-MailboxDatabase $_.Identity); $path = "`\`\" + $objitem.server + "`\" + $objItem.EdbFilePath.DriveName.Remove(1).ToString() + "$"+ $objItem.EdbFilePath.PathName.Remove(0,2); $size = ((Get-ChildItem $path).length)/1024KB; [math]::round($size, 2)}}, @{Name="No. Of Mbx";expression={(Get-Mailbox -Database $_.Identity | Measure-Object).Count}} | Format-table -AutoSize

Export to CSV: Get-MailboxDatabase | Select Server, StorageGroupName, Name, @{Name="Size (GB)";Expression={$objitem = (Get-MailboxDatabase $_.Identity); $path = "`\`\" + $objitem.server + "`\" + $objItem.EdbFilePath.DriveName.Remove(1).ToString() + "$"+ $objItem.EdbFilePath.PathName.Remove(0,2); $size = ((Get-ChildItem $path).length)/1048576KB; [math]::round($size, 2)}}, @{Name="Size (MB)";Expression={$objitem = (Get-MailboxDatabase $_.Identity); $path = "`\`\" + $objitem.server + "`\" + $objItem.EdbFilePath.DriveName.Remove(1).ToString() + "$"+ $objItem.EdbFilePath.PathName.Remove(0,2); $size = ((Get-ChildItem $path).length)/1024KB; [math]::round($size, 2)}}, @{Name="No. Of Mbx";expression={(Get-Mailbox -Database $_.Identity | Measure-Object).Count}} | Export-CSV C:\ServerStat-2.csv

Next Page »

The Rubric Theme. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.

Join 29 other followers