Exchange Server Share

December 5, 2009

Exchange says “hi” to ExFolders

Filed under: Uncategorized — Amit Tank @ 8:37 pm
Tags: , , ,

ninjaStarWebDAV protocol is no more in Exchange 2010. PFDAVAdmin, a great tool to troubleshoot Public Folder and Mailbox related issues, works on top of WebDAV thus it gets retired and now new tool called “ExFolders” born here.

ExFolders is a replica of PFDavAdmin but some of the features are discontinued and some are introduced too. Continue reading at MSExchangeTeam blog on what Bill Long says: Exchange, meet ExFolders

This tool can be downloaded from here.

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

July 2, 2009

Exchange 2007 SCW and Windows 2008 SP2?

Filed under: Exchange,Exchange 2007,Tools — Amit Tank @ 7:57 pm
Tags: , ,

Sometime back an issue posted on TechNet forum but now looks many people are looking about same so though of documenting it. However Microsoft is aware about this and we will get the resolution soon.

Issues is, when you install Exchange 2007 on Windows 2008 Service Pack 2 and try to register SCW to secure Exchange Server Role with below cmdlet, it gives an error and log it in MSSCW log file.

SCW command to register Exchange 2007 extension:
scwcmd register /kbname:Ex2007KB /kbfile:"%programfiles%\Microsoft\Exchange Server\scripts\Exchange2007_WinSrv2008.xml”

Error Message:

Command completed with error.
The parameter is incorrect.
Please check log file(s) under the following directory
%windir%\security\msscw\Logs

MSSCW Log file error:

0×80070057
The specified OS version does not match with the version that is defined in the KBRegistration.xml file. The parameter is incorrect.

Reason is SCW extension XML files are hardcoded to run on Windows 2008 with maximum of Service Pack 1 however we can change the value of ServicePackMajorVersion from 1 to 2 in the file to work with SP2.

Open SCW extension XML file in notepad and change it from:
<SCWKBRegistrationInfo OSMajorVersion="6" OSMinorVersion="0" ServicePackMajorVersion="1" ServicePackMinorVersion="0">

To:
<SCWKBRegistrationInfo OSMajorVersion="6" OSMinorVersion="0" ServicePackMajorVersion="2" ServicePackMinorVersion="0">

June 15, 2009

How To: Open Shared Calendar in OWA

Filed under: Exchange,Exchange 2003,Exchange 2007,OWA,Tools — Amit Tank @ 1:09 pm
Tags: , , , ,

Sometime back I posted an article about how to “Give Calendar Read Permission on all Mailboxes” in your environment and anyone can open anybody’s calendar in Outlook easily if it is shared but how can anyone open in OWA? Let’s discuss the caveats in detail…

Let’s take an example, Sheldon Labrooy shared his calendar with me (Amit Tank) and I got a sharing invitation.

image

I can open his calendar by clicking on “Open this Calendar” button on top of the mail or with help of “Open a Shared Calendar”.

image 

But there isn’t any option to open Sheldon Labrooy’s calendar in OWA.

image

If I try to open his mailbox in “Open Other Mailbox”,…

image

I got an error that you don’t have permission to open this mailbox.

Pretty clear, he has shared only Calendar folder of his mailbox but not Full Mailbox.

image

When we try to open somebody else’s mailbox in OWA, OWA main web page has all modules (Mailbox, Calendar, Tasks, Notes, other options etc) listed and Exchange tries to check full mailbox permission which we don’t have and get permission error.

Hummm, to open other’s mailbox in OWA we need to have explicit “Full Mailbox” permission on that mailbox, very well explained in below article.

How to Open Another User’s Calendar in Outlook Web Access

When user or admin shares a calendar, it gives “Reviewer” MAPI Folder permission on just Calendar folder.

So how do we open shared mailbox in OWA, what’s the hack?

Instead of opening main page of OWA why don’t we directly open just calendar module part, and here are the links to open just calendar in various views…

Views Links
Calendar View – Default – Daily https://<server name>/owa/<SMTP address>/?cmd=contents&module=calendar
Calendar View – Daily https://<server name>/owa/<SMTP address>/?cmd=contents&f=Calendar&view=Daily
Calendar View – Weekly https://<server name>/owa/<SMTP address>/?cmd=contents&f=Calendar&view=Weekly
Calendar View – Daily – Specific Date by specifying Date, Month and Year

https://<server name>/owa/<SMTP address>/?cmd=contents&f=Calendar&view=Daily&d=3&m=7&y=2009

Where…

d=[1-31]
m=[1-12]
y=[four digit year]

Let’s see all examples here…

https://Ess-Exch701/owa/Sheldon.Labrooy@ExchangeShare.info/?cmd=contents&module=calendar

image

https://Ess-Exch701/owa/Sheldon.Labrooy@ExchangeShare.info/?cmd=contents&module=calendar&view=Weekly

image 

https://Ess-Exch701/owa/Sheldon.Labrooy@ExchangeShare.info/?cmd=contents&module=calendar&view=Daily&d=2&m=7&y=2009

image

April 7, 2009

Native SCOM Exchange 2007 Management Pack – Beta Available!

Filed under: Exchange,Exchange 2007,SCOM,Tools — Amit Tank @ 4:18 am
Tags: , , ,

Justin Gao has posted an article that Beta version of native SCOM Exchange 2007 Management Pack is available now and RTM might be released in Q2 this year.

Download: http://blogs.technet.com/justin_gao/attachment/3222900.ashx

List of new or updated features of this beta version:

  • Equivalent Monitoring Coverage. This beta management pack covers the same core set of rules and monitors as the previously released converted Exchange Server 2007 Management Pack.
  • Support for monitoring any number of Exchange Organizations using a single Management Group. There are no specific requirements imposed by this management pack for monitoring multiple Exchange Organizations.
  • Full support for clustered configurations and Log Shipping scenarios.
  • An extensive class model, showing the relevant Exchange 2007 Server Roles and components, as well as service-centric components, allowing you to measure availability or performance at the desired level of granularity. It also fully supports the Distributed Application Designer, allowing you to create custom Distributed Applications using the appropriate Exchange 2007 components.
  • Improved Low-privilege support. This management pack supports installing the agent with the minimum rights required by the Operations Manager Agent. This also enables the user to install the management pack in certain System Center Essentials scenarios
  • Improved Tasks. The management pack includes a number of tasks that simplify troubleshooting and alert resolution times.
  • Improved Topology Discovery. This management pack introduces a number of improvements to topology discovery.
  • Improved Synthetic Transactions. This management pack improves the support for the Exchange 2007 synthetic transactions in several ways:
  • All Synthetic Transactions that involve several Exchange servers (such as remote mail flow tests or Outlook Web Access (OWA) tests) are represented as Operations Manager perspectives that change state and can be shown in a state view. This makes it easier for an operator to quickly zoom in on a potential Mail Flow issue for example.
  • The management pack supports a number of mail flow transaction types, including local, intra-site, inter-site, cross-organization and internet.
  • Discovery of Exchange 2007 Server Roles are disabled by default, and no Exchange 2007 monitoring is applied by default. This allows you to discover and monitor your servers gradually, as well as tune the management pack as you bring more Agent-Managed Exchange 2007 servers into the Operations Manager environment.

The Rubric Theme. Create a free website or blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.

Join 29 other followers