C#.NET – Configure Exchange 2010 Tool

A while ago I was having this idea of creating a tool that configure the most common things on the E

Update Rollup 2 + Update Rollup 7 released

Yesterday it was released.. I was waiting for the Update Rollup 2 for Exchange 2010 SP2 since it inc

Microsoft Community Contributor Award 2012

Late last Friday I did get a mail from Microsoft telling me that they have awarded/reawarded. It’s

 

C#.NET – Configure Exchange 2010 Tool

April 26, 2012 in Code, Exchange 2010

A while ago I was having this idea of creating a tool that configure the most common things on the Exchange server(s). It took about 3-4 weeks to complete the application with all coding, which includes around 3000 lines in total. The tool should be used locally on the server, since it’s using the Exchange PowerShell snapin when doing the query’s and configuring parts. Besides the smaller parts that uses PowerShell the application is built on C#.NET. Before going into detail, at the moment it’s version 0.9 since I’m about to optimize the code a bit more. I will update the blog post when it’s done. Until then, use it as much you want and feel free to give any feedback (it’s great to get feedback). The debugging of the application has been done on Exchange 2010 SP2, that’s the version it’s built for. But most likely it will work [...]

Update Rollup 2 + Update Rollup 7 released

April 17, 2012 in Exchange 2007, Exchange 2010

Yesterday it was released.. I was waiting for the Update Rollup 2 for Exchange 2010 SP2 since it included a hotfix for Exchange ActiveSync devices regarding the error code 451. If you want to read more about the update, press here. Before deploying this into Production, make sure to test it before in a test environment. Also disable Forefront Protection services  before the update is getting installed. Download KB (what the update includes) Update Rollup 7 for Exchange 2007 SP3 was also announced earlier. More info can be found on the team blog, here. Download KB (what the update includes) For disabling the Forefront Protection for Exchange run the following commands: ”fscutility /disable” (before upgrade) ”fscutility /enable” (after upgrade)

Microsoft Community Contributor Award 2012

April 2, 2012 in Award

Late last Friday I did get a mail from Microsoft telling me that they have awarded/reawarded. It’s great to see that my sharing with the community is so appreciated, both in the Forum, twitter and also on the blog. Dear Jonas, Congratulations! We’re pleased to inform you that your contributions to Microsoft online technical communities have been recognized with the Microsoft Community Contributor Award. The Microsoft Community Contributor Award is reserved for participants who have made notable contributions in Microsoft online community forums such as TechNet, MSDN and Answers. The value of these resources is greatly enhanced by participants like you, who voluntarily contribute your time and energy to improve the online community experience for others. Thanks to everyone in the community for reading my contents Additional information about the Microsoft Community Contributor Award Program can be found at http://www.microsoftcommunitycontributor.com

C#.NET – Create Mailboxes

March 19, 2012 in Code, Exchange 2010

Updated: Version 1.0.1 is released I’ve added the possibility to create Room, Equipment and Shared Mailboxes. The zip file with the application is now updated, one CSV example file is included. ===== This is my 3rd C#.Net application, this one is creating mailboxes based on CSV file (semi colon separated). I’m using FileHelpers for reading the CSV file, this dll file is embedded into the exe file for easier handle. The application is using remote PowerShell, so make sure that you have enabled remote PowerShell for the user that’s configured. Follow this link: http://technet.microsoft.com/en-us/library/dd298084.aspx The remote PowerShell connection mechanism is the default (Windows Auth) one. Start with browsing for the CSV file, semi colon separated (;), then press the Load button for loading up the contents in the CSV file. The items will be counted in the upper right corner. Next step is to press the Verify button for checking [...]

Selected PowerShell commands, output to CSV file

March 6, 2012 in Code, Exchange 2010

Here’s a sample on a basic PowerShell script that combines Get-Mailbox, Get-User and Get-MailboxStatistics commands. The specified objects will be saved into a CSV file. You can download the script here. I would be more than happy for any kind of comment or feedback Feel free to use the script below

C#.NET – List all mailboxes

February 29, 2012 in Code, Exchange 2010

Since I promised to put the source code and the application here on the blog, so here it is. The source code can be downloaded here. It’s not any kind of advanced application, it lists all mailboxes in the environment it’s connected to. The connection is done by using Remote PowerShell and can be configured in the Settings tab. The importance to get the application working is to have Remote PowerShell configured for the connecting user. And don’t forget if you’re using HTTPS the certificate names needs to be in place, or else it won’t work. Feel free to use the code and customize it. Just notify me or have a link the my blog. There is a barrier before getting started and really learn and understand C#.Net so I want to thank Peter Ericsson, Martin Sundström and Mike Pfeiffer for some kind tips and tricks. (Press their names for [...]

Exchange 2010 SP2 Update Rollup 1 is released

February 14, 2012 in Exchange 2010

Yesterday Microsoft announced on their Exchange Team blog (URL: http://bit.ly/ynvrHT) that Update Rollup 1 has been released for Exchange 2010 SP2.   Read about what the update roll will fix: http://support.microsoft.com/kb/2645995 Download link http://www.microsoft.com/download/en/details.aspx?id=28809 Make sure you deploy this update into a test environment before deploying it into production! If you’re looking for feedback, check in the comments field or go to the team blog link above and read the comments. Leave feedback around the update in the comments field, thanks   Cheers

Search for PST files on clients

February 12, 2012 in Exchange 2010

Wrote a basic PowerShell script that searches all computers listed in the clients.txt file. Saving the pst files into the destination path. For each computer, a folder is created with the corresponding computer name so that the PST files is collected per client. Before the PST Capture Tool was released I wrote a post about “How to consolidate PST” files. This script is just a little adjustment of that one. Also have a look at the PST Capture Tool, it can be found here. Anyway, feel free to use the script below and comment on it Download link

Consolidate PST files

January 25, 2012 in Exchange 2010

Published: 2012-01-25 Updated: – Version: 1.0 A time ago I was developing a PowerShell script for finding all PST files on a drive and copying them to a folder. Type in a drive that should be searched and the UNC path to save them on The script have been tested and verified on Exchange 2010 SP2 They are divided into two separate scripts. Feel free to give feedback on it. It can be downloaded here. End of script The import script starts below Feel free spread them just make sure to include a link to the blog as the source, use them at your own risk. Download link

Can’t connect to Exchange using EMC / EMS

January 3, 2012 in Exchange 2010

I was facing an issue after upgrading to Exchange 2010 SP2 in my lab environment. When starting up the Management Shell and Console, it was telling me that it couldn’t connect to the Exchange server and that it couldn’t find an Exchange server in this site. It was giving me the error message below “The WinRM client cannot process the request. It cannot determine the content type of the HTTP response from the destination computer.” After some research I found out that it could be because of the “WinRM IIS Extension” wasn’t installed. So in my case I was adding it as a feature in Server Manager. (See the pic below) During my research I also found out that if it was already installed, it should be uninstalled and run “winrm quickconfig”, restart. And then install the feature again and run the command once again. When it was installed, I [...]