Blog

Archive for April, 2009

Useful Exchange 2007 PowerShell Commands

Thursday, April 16th, 2009

How to update the GAL manually

Update-GlobalAddressList -Identity <GlobalAddressListIdParameter> -DomainController

For most it would be Update-GlobalAddressList -Identity “Default Global Address List”

How to check the logging in Exchange 2007

get-EventLogLevel

See which certificates Exchange 2007 are using

Get-ExchangeCertificate

Get-ExchangeCertificate |fl  (for more information)

Enable Exchange services for certificate

Enable-exchangecertificate -services IMAP, POP, UM, IIS, SMTP -Thumbprint BCF9F2C3D245E2588AB5895C37D8D914503D162E9

See what URL the CAS server has for autodiscover

Get-ClientAccessServer -Identity CASServer | FL

Change the autodiscover URL

Set-ClientAccessServer -Identity CASServer -AutoDiscoverServiceInternalUri https://mail.yourdomain.com/Autodiscover/Autodiscover.xml

Configure all the InternalURLs for each web distributed service

Set-OABVirtualDirectory -Identity “CASServer\OAB (Default Web Site)” -InternalURL https://mail.yourdomain.com/OAB

Enable-OutlookAnywhere -Server CASServer -ExternalHostname “mail.yourdomain.com” -ClientAuthenticationMethod “Basic”-SSLOffloading:$False

Set-ActiveSyncVirtualDirectory -Identity “CASServer\Microsoft-Server-ActiveSync (Default Web Site)” -ExternalURL https://mail.yourserver.com/Microsoft-Server-Activesync

Find out your inbound/outbound message limits

get-transportconfig

 

 

Backup Exec 12 - Connection with server failed

Wednesday, April 1st, 2009

With a couple of clean installs of Backup Exec 12D/12.5, sometimes the selection list in Backup Exec shows no local or remote selections to choose from. One thing to check is the Remote Operators group which is a default group in SBS 2003, the Administrator account or whichever account you use for Backup Exec should not be in this group. Secondly, Backup Exec needs a group policy setting for the credentials that Backup Exec uses: add the Backup Exec user to the setting “Log on as a batch job” in the Default Domain Controllers Policy/Computer Configuration/Windows Settings/Security Settings/Local Policies/User Rights Assignment/ Once you’ve added the Backup Exec user, go to Start –> Run –> and type “gpupdate /force” This will update Active Directory. Close and re-open Backup Exec, the selections should now be available.