Le Café Central de

                    ... Deva blogs!!

  • Le Café Central de DeVa

    Exchange PowerShell: How to get list of mailboxes, folders, subfolders, items in folder, foldersize programmatically?


    One of my customer automated Exchange PowerShell with his .Net application. They had a requirement to enhance the functionality – to get the list of exchange mailboxes, folders and its sub folders, items in folder, foldersize. Finally it needs to be saved in .csv format. 
    To implement this, we used Get-Mailbox and Get-MailboxFolderStatistics Exchange cmdlets. For looping the objects, we used foreach-object and couple of pipes to achieve the goal.

    PowerShell (screenshot):

    Exchange PowerShell

    PowerShell (script) – adding for your reference:

    [PS] C:\Documents and Settings\Administrator>Get-Mailbox | Select-Object alias | foreach-object {Get-MailboxFolderStatistics -Identity $_.alias | select-object Identity, ItemsInFolder, FolderSize} | Export-csv c:\Stats.csv -NoTypeInformation



    As you know you can automate your application using .Net programmatically by referring the following articles:http://msdn.microsoft.com/en-us/library/bb332449(v=exchg.80).aspx and http://msdn.microsoft.com/en-us/library/ff326159(v=exchg.140).aspx.

    Happy programming!!

  • Le Café Central de DeVa

    How to install the latest applicable updates for Microsoft Outlook 2003, 2007 and 2010?


    The above query is a common one that we receive from our customers. Have a look at our support KB regarding this (specific to US English version only) http://support.microsoft.com/kb/2625547 . This article provides a comprehensive list of the most recent hotfix updates and service packs for Microsoft Outlook. Some Outlook features are dependent on Microsoft Word and Microsoft Office components. Therefore, you should also install the latest updates for the Word and Office core components.

    The above article is applicable to Outlook 2003, Outlook 2007 and Outlook 2010. Also, the above article will be updated to reference new updates as they are released.

    Note: You can visit the Update Center for Microsoft Office (http://technet.microsoft.com/en-us/office/ee748587.aspx) to find links to the most recent cumulative and public updates for Microsoft Office.

    Happy updating!!

  • Le Café Central de DeVa

    Utility review: Calcheck – Outlook Calendar Checking tool


    In this post, we will have a look at the Calendar Checking tool (Calcheck) for Outlook which is published recently by Randy. This program checks the Microsoft Outlook Calendar and items for problems or for potential problems. It's is a command-line program that checks Outlook Calendars for problems. To use this tool, the Outlook calendar must reside on a Microsoft Exchange Server.

    Note: The tool does not work with IMAP, with POP3, or with other non-Exchange mail servers.

    The tool opens an Outlook profile, opens the Outlook Calendar, and then checks several things such as permissions, free/busy publishing, and auto booking. Then, the tool checks each item in the calendar folder for problems that can cause items to seem to be missing or that might otherwise cause problems in the Calendar.

    It can be used with the following: Outlook 2003, 2007, 2010 and Exchange Server 2003, 2007, 2010.

    To install this download:

    1.Click the Download button on this page to download the file and save it to your computer.
    2.Unzip the compressed file that you downloaded in a blank directory on your computer.
    Instructions for how to use this tool:

    After you install this download, open a Command Prompt window in the directory that contains the CalCheck.exe file. To obtain detailed instructions, type the calcheck /? command in the Command Prompt window, and then press Enter.

    Calcheck - Usage

    Here is a list of command-line switches for CalCheck.exe:

    CalCheck [-P <Profile name>] [-M <Mailbox name>] [-S <Server name>] [-O<path>] [-A] [-F] [-R] [-V] [-No]
    CalCheck -?

    -P Profile name (If this parameter is not specified, the tool prompts you for a profile)
    -M Mailbox DN (If this parameter is specified, only process the mailbox that is specified)
    -S Server name (Process the complete server unless a mailbox is specified)
    -O Output path (path to place output files -default is the current directory)
    -A All calendar items are output to CALCHECK.CSV
    -F Create a CalCheck folder, and move flagged error items to the folder
    -R Put a Report message that contains the CalCheck.log file in the Inbox
    -V Verbose output to the Command Prompt window
    -No To omit a calendar item test
    The No parameter works with "org" to omit the “Attendee becomes Organizer” test and works with "dup" to omit duplicate item detection
    -? Print this message

    To remove this download:
    To remove CalCheck, delete the directory where it is installed on the hard disk.

    You can download the utility in two flavors - CalCheckX64, CalCheckX86. You can download it from http://www.microsoft.com/en-us/download/details.aspx?id=28786&WT.mc_id=rss_office_allproducts

    What the utility does & what you will see in the report?

    When you try the Calcheck.exe, the following Calendar-specific checks are performed and logged in the report:

    • Permissions on the Calendar
    • Delegates on the Calendar
    • Free/Busy publishing information
    • Direct Booking settings for the Mailbox or Calendar
    • Total number of items in the Calendar folder

    The following item-level checks are performed and logged in the report:

    • No Organizer email address
    • No Sender email address
    • No dispidRecurring property (causes an item to not show in the Day/Week/Month view)
    • Time existence of the dispidApptStartWhole and dispidApptEndWhole properties
    • No Subject for meetings that occur in the the future or for recurring meetings (a warning is logged)
    • Message Class check (a warning is logged)
    • dispidApptRecur (recurrence blob) is checked for time on overall start and end times, not for exceptions
    • Check for Conflict items in the Calendar
    • Check for duplicate items, based on certain MAPI properties
    • Check if over 1250 recurring meetings (a warning is logged) and 1300 recurring meetings (an error is reported); 1300 is the limit
    • Check if you are an attendee and you became the Organizer of a meeting
    • Check meeting exception data to ensure it is the correct size

    Note: If you have a problem with CalCheck - you can post information about it on http://calcheck.codeplex.com/workitem/list/basic

    Later I will add couple of screenshots that I tried at my end. I recommend you to try this wonderful utility and make use of it!

    Happy troubleshooting!!
  • Le Café Central de DeVa

    Interesting article: “Nokia Lumia 800 Windows phone experiment @ 105,000 feet”

    Interesting article on “Nokia Lumia 800 reaches 105,000 feet”… just check it out!!
  • Le Café Central de DeVa

    What’s new: Bing Search API is available on Windows Azure Marketplace


    Now Bing Search API is available on the Windows Azure Marketplace! Starting today, you can sign up in the Marketplace to access web, image, news, and video search results, as well as related searches and spelling suggestions using JSON or XML. As a one stop shop for cloud data, apps, and services, the Windows Azure Marketplace provides opportunities to access hundreds of other datasets and distribute your applications. In transitioning, the Search API is able to serve more relevant and up-to-date results. You can more info @ http://www.bing.com/community/site_blogs/b/developer/archive/2012/05/17/bing-developer-update-2.aspx

Page 1 of 1 (5 items)