Showing posts with label powershell. Show all posts
Showing posts with label powershell. Show all posts

Friday, June 19, 2009

Exchange 2007 OAB Replication Check

check your OAB replication by:

get-offlineaddressbook |fl

Write down the Guid of the address book that needs to replicate then navigate to

c:\program files\microsoft\exchange server\client access\OAB

Check to make sure the only folder is the one with your guid you wrote down earlier.

Exchange 2007 Set Autodiscover URL

set-clientaccessserver -identity servername -autodiscoverserviceinternaluri "http://server.domain.com/autodiscover/autodiscover.xml"

Exchange 2007 Add Permission scripts (powershell)

Get-Mailbox -identity "SERVERNAME\First Storage Group\Mailbox Database" | Add-ADPermission -user administrator -AccessRights GenericAll

Thursday, June 18, 2009

Exchange 2007 Mailbox Total Size (powershell)

Get-Mailbox -Database | Get-MailboxStatistics | select DisplayName,TotalItemSize |
sort TotalItemSize