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

Exchange Server 2010 Prerequisites script: Updated

Hi folks, If you follow this blog you may have noticed that I started a simple script and it had an updated a couple of weeks ago. Now, fellow MVP Pat Richard (http://www.ucblogs.net/blogs/exchange/default.aspx) added some nice features and I’ve been using and it saves a lot of time for sure! Thanks Pat Richard! Read more at source: http://www.ucblogs.net/blogs/exchange/archive/2009/12/12/Automated-prerequisite-installation-via-PowerShell-for-Exchange-Server-2010-on-Windows-Server-2008-R2.aspx You can also download the script from here: http://www.ucblogs.net/files/folders/powershell/entry125.aspx Cheers, Anderson Patricio http://msmvps.org/Blog/AndersonPatricio http://www.andersonpatricio.org Twitter: @apatricio

Exchange Server 2010 RU1 and BES supportability

Hi Folks, RU 1 was released ( http://support.microsoft.com/kb/976573) and BES is also fully supported on Exchange Server 2010. Read more at source: http://msexchangeteam.com/archive/2009/12/09/453486.aspx and http://msexchangeteam.com/archive/2009/12/09/453485.aspx Cheers, Anderson Patricio Technorati : BES, Exchange Server 2010, Rollup Update 1 Del.icio.us : BES, Exchange Server 2010, Rollup Update 1 Zooomr : BES, Exchange Server 2010, Rollup Update 1 Flickr : BES, Exchange Server 2010, Rollup Update 1

Exchange, meet ExFolders

PFDAVAdmin is not around anymore with Exchange Server 2010 however the exchange team created a new tool called ExFolders. Six or seven years ago, I was faced with several cases where the permissions on public folders had been made non-canonical by programs running against the M: drive. This was back in the Exchange 2000 days when IFS was still around, and it exposed the M: drive by default. At the time, the only fix we had for this situation was a painful manual process that had to be done one folder at a time. Since I was trying to learn … Continue reading Exchange, meet ExFolders

Visualizing Quota Information using Outlook 2010 and Outlook Web App

Hi folks, A friend of mine just asked me about Quota Information to the end-user on the new products. So here a small brief how to retrieve quota information using Outlook 2010 and Outlook Web App. If you are a happy user and you are using the Outlook Web App, you can hover your mouse over your name on the right side and you will se the current size of your mailbox and limits assigned to you. If you are using Outlook 2010 there is Quota Information feature that can be turned on or off. Basically, righ click on the … Continue reading Visualizing Quota Information using Outlook 2010 and Outlook Web App

Microsoft Exchange Server 2010 Transport Server Role Architecture Diagrams

Hi Folks, The best way to understand a product is to study its architecture. If you want to learn a little bit more about Hub Transport, then this download is for you. Many components are involved in the transport of messages through the Exchange Server 2010 mail flow pipeline. The Hub Transport server role diagram can help you understand the role each component plays in the processing of messages that enter the Exchange 2010 mail flow pipeline. Exchange administrators can use this information to help diagnose mail flow problems. The Hub Transport extensibility diagram can help you understand how the … Continue reading Microsoft Exchange Server 2010 Transport Server Role Architecture Diagrams

Installing Exchange Server 2010 pre-requisites on Windows Server 2008 R2 – Part 2

Hi folks, Bhargav Shukla (http://www.bhargavs.com) added the Filter Pack installation on the current script and now the script can download and install the Filter Pack. Great job Bhargav and thanks for sharing this with the community. His blog entry with the script can be seen at his blog http://www.bhargavs.com/index.php/powershell/2009/11/script-to-install-exchange-2010-pre-requisites-for-windows-server-2008-r2/ and also saved his script on this location: http://cid-a9fab8a859bc28e5.skydrive.live.com/self.aspx/.Public/Ex2010-PreRequisites-v2.ps1?ccr=6123 Cheers, Anderson Patricio

Installing Exchange Server 2010 pre-requisites on Windows Server 2008 R2

Hi folks, If you have ever tried to use ServerManagerCMD on Windows Server 2008 R2 probably you will remember this message: “Servermanagercmd.exe is deprecated, and is not guaranteed to be supported in future releases of Windows. We recommend that you use the Windows PowerShell cmdlets that are available for Server Manager“ So.. which means that we can use the XML files to install the pre-requisites but we should start using the new method which is PowerShell. In order to use PowerShell to add Windows Features we need to know three cmdlets: Get-WindowsFeature, Add-WindowsFeature and Remove-WindowsFeature. If you open a PowerShell … Continue reading Installing Exchange Server 2010 pre-requisites on Windows Server 2008 R2

Exchange Server 2010 Deployment Assistant

Hi folks, MSExchange Team released a great tool to help mail administrators to move from their current environment to Exchange Server 2010. The name of this web interface tool is Exchange Deployment Assistant and it can be found at http://technet.microsoft.com/en-ca/exdeploy2010/default.aspx#Home. At this point the only option available is Upgrade from Exchange Server 2003 and the other transition scenarios will be covered soon. You will be asked a couple of questions about your environment and based on your answers you will have a list of steps to be performed and those tasks are explained step-by-step which makes really easy a migration … Continue reading Exchange Server 2010 Deployment Assistant