Archive for category Exchange 2010
Find Your Exchange 2010 Version
Posted by JBrokaw in Exchange 2010 on March 8, 2010
From the Exchange Blog
So I just installed RU1 on my brand new Exchange 2010 server and then I issue a Get-Exchangeserver -Identity MyExchangeServer and get the following output for AdminsDisplayVersion and ExchangeVersion:
Ok that looks a little familiar for some reason. I go to my Exchange 2010 RTM server and issue the same CMDlet and get:
…The same result! But one server has RU1 installed and the other is RTM. Shouldn’t I get a different version number back?
Well… no. Exchange 2007 and forward do not reflect the version number either in the value for AdminDisplayVersion, ExchangeVersion, or at this registry key HKLM\SOFTWARE\Microsoft\v8.0\<Role>\ConfiguredVersion as influenced by roll ups. This is a common misconception.
The most conclusive way to get the version of your exchange server, rollup and all, is to check the file version of ExSetup.exe in the BIN folder.
Here is Exchange 2010 RU1 version:
And here is Exchange 2010 RTM:
Another way of getting this information is to run the following PowerShell one-liner:
GCM exsetup |%{$_.Fileversioninfo}
The below output is from an exchange 2010 server running RU1:
Here is an exchange 2010 RTM server:
You can then correlate the version number you find with those listed here, here or on the actual rollup update download pages.
PowerShell Script to E-Mail User Mailbox Storage Limit Status
Posted by JBrokaw in Exchange 2007, Exchange 2010 on March 4, 2010
A storage status of “NoChecking” means they do not have a mailbox limit.
To schedule the script. Through Windows Scheduler “PowerShell.exe -PSConsoleFile "C:\Program Files\Microsoft\Exchange Server\Bin\ExShell.psc1" -Command “C:\Script.ps1"
Save as a .ps1 file
________________________________________________
$FromAddress=MailboxReport@domain.com
$ToAddress=ExampleUser@domain.com
$MessageSubject="Mailbox Report"
$MessageBody="User Mailbox Storage Limit Status"
$SendingServer="emailserver.domain.com"
$file="C:\Mailboxes.txt"
Get-MailboxStatistics | Sort-Object StorageLimitStatus | ft DisplayName, StorageLimitStatus, ItemCount > $file
$SMTPMessage = New-Object System.Net.Mail.MailMessage $FromAddress, $ToAddress, $MessageSubject, $MessageBody
$Attachment = new-object System.Net.Mail.Attachment $file
$SMTPMessage.Attachments.Add($Attachment)
$SMTPClient=New-Object System.Net.Mail.SMTPClient $SendingServer
$SMTPClient.Send($SMTPMessage)
Exchange 2010 Requires Client Encryption – Outlook 2003 Encryption Disabled by Default
Posted by JBrokaw in Exchange 2010 on February 26, 2010
Solution:
1. Enable Encryption in the Outlook 2003 Profile.
2. Create a GPO to enable Encryption for Outlook 2003 clients.
http://support.microsoft.com/kb/2006508
3. Disable the Encryption requirement on the Exchange 2010 server.
From PowerShell on the Exchange server: Set-RpcClientAccess -Server:ExchangeServerName -EncryptionRequired:$False
Outlook 2003 Responds Slowly When Using Exchange 2010
Posted by JBrokaw in Exchange 2010 on February 26, 2010
MS KB for this issue – http://support.microsoft.com/kb/2009942
Migrate From Exchange 2007 To Exchange 2010
Posted by JBrokaw in Exchange 2010 on November 11, 2009
Migrate Mailboxes to Exchange 2010 Server.
Move SSL Certificates to Exchange 2010 Server. Process is the same as Exchange 2007.
Migrate Public Folders. Process is the same as Exchange 2007.
Configure Offline Address Book on Exchange 2010 Server:
Install Exchange 2010 (Single Server) on Windows Server 2008 R2
Posted by JBrokaw in Exchange 2010 on September 8, 2009
Prerequisites:
- Existing Exchange 2007 Servers must have SP2 installed.
- Existing Exchange 2003 Servers must have SP2 installed.
- At least one Global Catalog in each AD site must be Server 2003 with SP2.
- Active Directory Forest Functionality must be at least Windows Server 2003.
- Exchange 2010 cannot be installed on a RODC.
Required Software:
- From PowerShell on the server where Exchange will be installed.
- Set-ExecutionPolicy RemoteSigned – This will allow PowerShell scripts created on the server to be run on the server.
- Import-Module servermanager
- Save the command below to a .PS1 file extension. (Command below needs to be on a single line)
- add-WindowsFeature Net-Framework,RSAT-ADDS,Web-Server,WEB-ISAPI-Ext,Web-Metabase,Web-Lgcy-Mgmt-Console,Web-Basic-Auth,Web-Digest-Auth,Web-Windows-Auth,Web-Dyn-Compression,NET-HTTP-Activation,RPC-over-HTTP-Proxy -Restart
- Change to the directory of the PowerShell script you just created.
- Enter .\SriptName.ps1
- After the Reboot, configure Net.TCP port sharing service. Enter – Set-Service NetTcpPortSharing -StartupType Automatic
Install Standard SSL On Exchange 2007/Exchange 2010
Posted by JBrokaw in Exchange 2007, Exchange 2010 on July 24, 2009
Follow the steps below if an SSL cert exists already on another server.
Export Existing SSL Cert/Private Key
- Click on OK (in the Add/Remove Snap-in window)
- Select Computer Account
- Select Local Computer
- Click the + to Expand the Certificates Console Tree
- Look for the Personal directory/folder and expand Certificates.
- Right Click on the Certificate you would like to backup and choose > ALL TASKS > Export
- Follow the Certificate Export Wizard to backup your certificate to a .pfx file
- Choose to ‘Yes, export the private key’
- Choose to include all certificates in certificate path if possible. (do NOT select the delete Private Key option)
- Leave default settings > Enter Password (if required)
- Choose to save file on a set location
- Finish
Importing your Certificate/Private Key (from .pfx file format)
- Start > Run
- Type in MMC and click OK
- Go into the File Tab (or Console) > select Add/Remove Snap-in
- Click on Add > Click on Certificates and click on Add, then close (to close the Add Standalone Snap-in window)
- Click on OK (in the Add/Remove Snap-in window)
- Select Computer Account
- Select Local Computer
- Click the + to Expand the Certificates Consol Tree
- Right click on the Personal Certificates Store (folder)
- Choose > ALL TASKS > Import
- Follow the Certificate Import Wizard to import your Primary Certificate from the .pfx file. When prompted, choose to automatically place the certificates in the certificate stores based on the type of the certificate.
Follow the steps below to generate a CSR request for a new SSL Cert.
From the Exchange 2007 Shell –
New-ExchangeCertificate –GenerateRequest:$True -Path c:\mail.domain.org.csr -KeySize 2048 -SubjectName “C=US, S=State, L=City, O=Company Name, OU=Org Unit Name, CN=mail.domain.org” -DomainName mail.domain.org -PrivateKeyExportable $True
Import the SSL Cert into Exchange 2007 Server – From the Exchange 2007 Shell – “Import-ExchangeCertificate –path C:\mail.domain.org.csr”
From the Exchange 2010 Shell -
New-ExchangeCertificate –GenerateRequest:$True -KeySize 2048 -SubjectName “C=US, S=State, L=City, O=Company Name, OU=Org Unit Name, CN=mail.domain.org” -DomainName mail.domain.org -PrivateKeyExportable $True > C:\SSLName.txt
Import the SSL Cert into Exchange 2010 Server – From the Exchange 2010 Shell – “Import-ExchangeCertificate -FileData ([Byte[]]$(Get-Content -Path C:\CertName.cer -Encoding byte -ReadCount 0))”
Follow the steps below to enable the Standard SSL Cert on the Exchange 2007/Exchange 2010 Server.
From the Exchange Shell enable the Cert for Exchange with the “Enable-ExchangeCertificate –Services “SMTP,POP,IMAP,IIS” –thumbprint “thumbprint”
From the Exchange 2007/Exchange 2010 Management Console:
Change the “Client Receive Connector” FQDN to mail.domain.org instead of Exchange01.domain.local
From the Exchange 2007 Management Console: Server Configuration – Client Access
From Outlook Web Access Tab – “OWA (Default Web Site)” – Change Internal and External URL to https://mail.domain.org/owa
From Exchange ActiveSync Tab – “Microsoft-Server-ActiveSync” – Change Internal and External URL to https://mail.domain.org/Microsoft-Server-ActiveSync
From Offline Address Book Distribution Tab – “OAB (Default Web Site)” – Change Internal and External URL to https://mail.domain.org/oab
For Exchange 2010 Only: From the Exchange Control Panel Tab - “ecp (Default Web Site)” – Change Internal and External URL to https://mail.domain.org/ecp
From the Exchange 2007/Exchange 2010 Shell –
Change Autodiscover URL – “Get-ClientAccessServer | Set-ClientAccessServer –AutodiscoverServiceInternalUri https://mail.domain.org/autodiscover/autodiscover.xml”
Change Web Services URL – “Get-WebServicesVirtualDirectory | Set-WebServicesVirtualDirectory –InternalUrl https://mail.domain.org/ews/exchange.asmx –ExternalUrl https://mail.domain.org/ews/exchange.asmx”