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 … Continue reading Script: Integrating OCS and OWA in Exchange Server 2010

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 on the web.config Code: ## Script created by Anderson Patricio (http://msmvps.org/blogs/AndersonPatricio)## Syntax:# IMExIntegration.ps1# Function ValidateCerSerialNumber($tmpSN) { $tmpSerialNumber = “” For ( $count =0; $count -le $vExCert.SerialNumber.length-2; $count=$count+2) {  $tmpSerialNumber = $tmpSerialNumber + $vExCert.SerialNumber.substring($count,2) + ” ”  } Return $tmpSerialNumber} Function SwapFile(){ mv web.config web.config.backup.script copy-item .\IMBackup\web.config.new web.config Get-OWAVirtualDirectory | Set-OWAVirtualDirectory -InstantMessagingType OCS} Function BackupFile(){ If (Test-Path “IMBackup”) { write-host “[INFO] IMBackup folder already exists.” -ForeGroundColor Yellow } Else { mkdir IMBackup } $BackupFileName = “IMBackup\web.config.backup.” … Continue reading SCRIPT: IMEXIntegration.ps1 v1

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 : OCS 2007 R2, Workload Architecture Poster Del.icio.us : OCS 2007 R2, Workload Architecture Poster Zooomr : … Continue reading Office Communications Server 2007 R2 Workload Architecture Poster

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: Groupe des utilisateurs … Continue reading Exchange French Community (updated)

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. 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. Then, we can use the PowerShell capabilities to fix all those issues in … Continue reading Exchange Server 2010: "Try to access it again in 10 seconds"

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 : Deployment … Continue reading Announcing Additional Upgrade Scenarios for the Exchange Server 2010 Deployment Assistant

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, … Continue reading Webcast: DPM 2010 Release Candidate preview

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 … Continue reading Adding images to AD users using a UploadPhoto.ps1 script

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 (http://msmvps.org/blogs/AndersonPatricio)## Syntax:# uploadphoto.ps1 <mailbox-name># uploadphoto.ps1 -all (It will load all jpg files from the default folder and upload to the users in AD# param([Switch]$all, [String]$UserName) #Default Values. Change them based on your environment.$DefaultPhotoPath = ‘C:\Photos’ Function CheckPhoto(){ Write-Warning “Validating file(s)..”  Write-Host “File exists… ” -nonewline If (Test-Path $PhotoPath)   {  Write-Host “[OK]” -ForeGroundColor Green  Write-host “Photo size… ”  -nonewline  $PhotoSize = Get-ChildItem $PhotoPath | … Continue reading SCRIPT: UploadPhoto.ps1