AndersonPatricio.ca

A Microsoft Unified Communications resource blog

Recent Posts

Search by Topic

Email Notifications

Blogroll

My Microsoft KBs

.:. About me..

Microsoft Community

Andy's Toolbox

Archives

Ads

January 2010 - Posts

Script: Integrating OCS and OWA in Exchange Server 2010

Hi folks,

I'm working on an integration article between OCS and OWA and during my time writing all those process I realized that a script may be handy for some administrators.

The idea is really simple, the administrator will run the script (I named it as IMEXIntegration.ps1) and the script will list and ask you about the proper OCS Front End/Pool and that's it. In the background the script will perform all those tasks.

The script in action can be seen in the figure below. The only information required is the OCS Front End/Pool name, and all changes that will be performed on your web.config will be listed as well.

So, I started to create a script for the Exchange side and in the current stage we have the following features:

  • A backup of the current web.config is created (Yes, you will be covered if something goes wrong)
  • The attributes IMCertificateIssuer and IMCertificateSerialNumber will be filled out automatically based on the certificate that you have on your CAS Server
  • A list of all OCS Front End and Pool servers will be listed and you just need to type in the correct pool
  • OWA Virtual Directory is configured automatically
  • IISreset is done at the end (by the way I'm not using /noforce in that script)
  • A folder IMBackup will be created underneath OWA folder and it will contain any changes made by the script on the web.config

What I'm still working on is.. enabling the firewall rules and download and install the Web Service Provider Installer Package and its additional tools.

If you want to help me on this one, please drop me a line and as soon as we have more improvements I will be updating this post.

The script can be found at this address: http://msmvps.com/blogs/andersonpatricio/pages/script-imexintegration-ps1-v1.aspx

Cheers,
Anderson Patricio
http://msmvps.org/Blog/AndersonPatricio
http://www.andersonpatricio.org
Twitter: @apatricio

Technorati : , , ,
Del.icio.us : , , ,
Zooomr : , , ,
Flickr : , , ,

SCRIPT: IMEXIntegration.ps1 v1
Script Name: IMExIntegration.ps1 v1 Log : v1.0 - Initial script. Main features: backup of the web.config; OWAVirtualDirectory configuration; IISreset afterwards; list of all OCS Front End/Pool servers; adds automatically all fields required for the integration...
Office Communications Server 2007 R2 Workload Architecture Poster

This poster of Office Communications Server 2007 R2 describes the traffic flow of protocols and ports used in each workload. Communications Server 2007 R2 supports the following workloads: IM and Presence, Conferencing, Application Sharing, and Enterprise Voice. These filtered views can assist you in architecting your deployment of Communications Server 2007 R2. The different server roles are described along with server certificate requirements. Firewall and DNS configuration requirements are also described.

Get it here: http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=af2c17cb-207c-4c52-8811-0aca6dfadc94

Cheers,
Anderson Patricio
http://msmvps.org/Blog/AndersonPatricio
http://www.andersonpatricio.org
Twitter: @apatricio

Technorati : ,
Del.icio.us : ,
Zooomr : ,
Flickr : ,

Exchange French Community (updated)

Hi folks,

I'm trying to learn French and during my process to understand the language which by the way in a scale of 0 to 10 is 0.5 :) I started to read sites and blogs related to Exchange in French and I found out that the french community writes a lot about Exchange and UC and it is really good stuff.

If you want to learn French and also get a lot of tricks in French I will give you a list of some of the blogs that I've been reading on that language, as follows:


Note: If you have a French blog/site that is not listed here (I'm sure there are tons of them out there) please let me know and I will be more than happy in reading your blog/site.

Cheers,
Anderson Patricio
http://msmvps.org/Blog/AndersonPatricio
http://www.andersonpatricio.org
Twitter: @apatricio

Technorati : ,
Del.icio.us : ,
Zooomr : ,
Flickr : ,

Exchange Server 2010: "Try to access it again in 10 seconds"

Hi folks,

I was playing in my lab yesterday and I received the message below, this error is not a big deal but I would like to go over a simple troubleshooting process that can help you in case you need it.

01.PNG

That message means that something is wrong at server level, so first of all let's list of all services and let's pay attention on the RequiredServicesRunning line if you have false then the line ServicesNotRunning will be populated with all services that are not started.

02.PNG

Then, we can use the PowerShell capabilities to fix all those issues in a single line, just type in the cmdlet below and all stopped services will be started.

Test-ServiceHealth | Select ServicesNotRunning | foreach { Start-Service $_.ServicesNotRunning }

03.PNG

Now, run a test-servicehealth again to make sure that it's all good and then try to log on again. If you don't have a corrupted database then you will be fine.

After solving the current issue is recommended to go over the server Event Viewer and also ExBPA to validate the root cause of the issue and also a health check of the server.

Cheers,
Anderson Patricio
http://msmvps.org/Blog/AndersonPatricio
http://www.andersonpatricio.org
Twitter: @apatricio

Technorati : , ,
Del.icio.us : , ,
Zooomr : , ,
Flickr : , ,

Announcing Additional Upgrade Scenarios for the Exchange Server 2010 Deployment Assistant

Hi folks,

Today the MSExchangeTeam has just announced the content missing on the first release of the assistant. You can check the assistant out at http://technet.microsoft.com/exdeploy2010

In November, we launched the Exchange Server 2010 Deployment Assistant. In the initial version of the Deployment Assistant, content was available for customers upgrading from Exchange 2003. We are happy to announce that today we've released content for the following scenarios to http://technet.microsoft.com/exdeploy2010:

  • Upgrading from Exchange Server 2007
  • Upgrading from a mixed Exchange Server 2003/2007
  • New Exchange Server 2010 installation

Read more at source: http://msexchangeteam.com/archive/2010/01/13/453795.aspx

Cheers,
Anderson Patricio
http://blogs.msexchange.org/patricio
Twitter: @apatricio

Technorati : ,
Del.icio.us : ,
Zooomr : ,
Flickr : ,

Webcast: DPM 2010 Release Candidate preview

Hi folks,

System Center Team will present a 300 level webcast about DPM 2010 RC preview. If you are looking for a robust software to protect your entire environment, then this webcast is for you.

The DPM team will be demonstrating how to protect/restore of several products and Exchange Server 2010 is included on that list. :)

TechNet Webcast: Get Ready for Data Protection Manager (DPM) 2010 Release Candidate (Level 300)

Start Date: Thursday, January 14, 2010 9:00 AM Pacific Time (US & Canada)

Duration: 90 Minutes

Audience(s): IT Generalist

Link to register: http://msevents.microsoft.com/CUI/WebCastEventDetails.aspx?culture=en-US&EventID=1032437132

Read more at source: http://blogs.technet.com/systemcenter/archive/2010/01/11/dpm-2010-release-candidate-webcast-preview.aspx

Cheers,
Anderson Patricio
http://msmvps.org/Blog/AndersonPatricio
http://www.andersonpatricio.org
Twitter: @apatricio

Technorati : , ,
Del.icio.us : , ,
Zooomr : , ,
Flickr : , ,

Adding images to AD users using a UploadPhoto.ps1 script

Hi Folks,

After a long period of holidays it's time to go back to work/blog/twitter and so forth :).

Let's start talking how to add images to Active Directory users' attributes and then using Outlook 2010 we will be able to check these images. Ilse Van Criekinge's webblog has already covered this process (http://blogs.technet.com/ilvancri/archive/2009/11/17/upload-picture-in-outlook-2010-using-the-exchange-management-shell-exchange-2010.aspx) and based on that information I created a simple script to help administrator to upload pictures.

The script is really simple. It is called UploadPhoto.ps1 and it can be found here: http://msmvps.com/blogs/andersonpatricio/pages/script-uploadphoto-ps1.aspx.

To upload a picture to a single user just run UploadPhoto.ps1 <username> and the script will look for a file called <username>.jpg on the default folder (by default is C:\Photos) and it will check and then upload the information.

The script can be also used to upload more than a single user at the same time. You can use the switch -all and all files of the default folder will be uploaded to its respective user. Make sure that the file name and mailbox name are the same. Example: user Anderson and file must be anderson.jpg.

This feature is nice if you have all users photos on the same folder, just run once and it will upload all photos in a single shot.

More information about this script:

  • The script uses the folder C:\Photos as default repository of the JPG files, you can change to reflect your environment just changing the variable $DefaultPhotoPath.
  • Feel free to change and if you add any new improvement, please let me know and I will update the script with your changes.

Cheers,
Anderson Patricio
http://msmvps.org/Blog/AndersonPatricio
http://www.andersonpatricio.org
Twitter: @apatricio

Technorati : , , ,
Del.icio.us : , , ,
Zooomr : , , ,
Flickr : , , ,

SCRIPT: UploadPhoto.ps1
Script Name: UploadPhoto.ps1 v1 Log : v1.0 - Initial script. Check jpg file size and path. Uses a standard path as jpg repository and allows to add pictures to a single user or multiple users (-all switch) Code : # # Script created by Anderson Patricio...