• Home
  • Cisco
  • Exchange
  • Linux
  • Navision
  • Network
  • Virtualization
  • Windows
  • About
  •  

    Show mailbox sizes per organizational unit – Exchange 2010

    August 20th, 2012

    Get-Mailbox -OrganizationalUnit “OU-Name” | Get-MailboxStatistics | ft  displayName,TotalItemSize -Autosize

    Get-MailboxStatistics | Sort -Property TotalItemsize | Format-Table DisplayName, LastLoggedOnUserAccount, ItemCount, @{expression={$_.totalitemsize.value.ToMB()};label=”Size(MB)”}, LastLogonTime, LastLogoffTime


    Show users connected to a CAS – Exchange 2010

    August 20th, 2012

    Show number of users connected to Client Access Servers
    Get-Counter “\MSExchange RpcClientAccess\User Count” -ComputerName cas1,cas2 |ft

    Show number of users connected to Outlook Web Access / Webmail
    Get-Counter “\MSExchange OWA\Current Unique Users” -ComputerName cas1,cas2 |ft

    Show named users connected to CAS and Mailbox server
    Get-LogonStatistics -Server “exch1” | where {$_.clientname -eq “cas1”}| ft username,servername,clientname


    Exchange 2010 – File-Level Scanning Exclusions

    August 16th, 2012

    Detailed list from Microsoft here

    Folder Exclusions:
    C:\Program Files\Microsoft\Exchange Server\V14\Mailbox
    C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\MDBTEMP
    C:\Program Files\Microsoft\Exchange Server\V14\ExchangeOAB
    C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess
    C:\Program Files\Microsoft\Exchange Server\V14\TransportRoles
    C:\Program Files\Microsoft\Exchange Server\V14\TransportRoles\data\Queue
    C:\Program Files\Microsoft\Exchange Server\V14\TransportRoles\data\IpFilter
    C:\Program Files\Microsoft\Exchange Server\V14\TransportRoles\Logs
    C:\Program Files\Microsoft\Exchange Server\V14\TransportRoles\Data\Queue
    C:\Program Files\Microsoft\Exchange Server\V14\TransportRoles\Data\IpFilter
    C:\Program Files\Microsoft\Exchange Server\V14\TransportRoles\Data\Adam
    C:\Program Files\Microsoft\Exchange Server\V14\TransportRoles\Data\SenderReputation
    C:\Program Files\Microsoft\Exchange Server\V14\Working\OleConvertor
    C:\Program Files\Microsoft\Exchange Server\V14\GroupMetrics
    C:\Program Files\Microsoft\Exchange Server\V14\Logging
    C:\Program Files\Microsoft\Exchange Server\V14\Logging\POP3
    C:\Program Files\Microsoft\Exchange Server\V14\Logging\IMAP4
    C:\Program Files\Microsoft\Exchange Server\V14\Working\OleConvertor
    C:\Program Files\Microsoft\Exchange Server\V14\UnifiedMessaging\grammars
    C:\Program Files\Microsoft\Exchange Server\V14\UnifiedMessaging\Prompts
    C:\Program Files\Microsoft\Exchange Server\V14\UnifiedMessaging\voicemail
    C:\Program Files\Microsoft\Exchange Server\V14\UnifiedMessaging\temp
    C:\Windows\System32\inetsrv
    C:\Windows\Cluster
    C:\witness
    C:\inetpub\temp\IIS Temporary Compressed Files
    C:\Windows\System32\inetsrv
    C:\inetpub\logs\LogFiles

    Processes Exclusions:
    C:\Program Files\Microsoft\Exchange Server\V14\Bin\MSExchangeADTopologyService.exe
    C:\Program Files\Microsoft\Exchange Server\V14\Bin\ExFBA.exe
    C:\Program Files\Microsoft\Exchange Server\V14\bin\store.exe
    C:\Program Files\Microsoft\Exchange Server\V14\bin\mad.exe
    C:\Program Files\Microsoft\Exchange Server\V14\Bin\msftesql.exe
    C:\Program Files\Microsoft\Exchange Server\V14\bin\Microsoft.Exchange.AddressBook.Service.exe
    C:\Program Files\Microsoft\Exchange Server\V14\Bin\Microsoft.Exchange.AntispamUpdateSvc.exe
    C:\Program Files\Microsoft\Exchange Server\V14\Bin\Microsoft.Exchange.EdgeSyncSvc.exe
    C:\Program Files\Microsoft\Exchange Server\V14\Bin\MSExchangeFDS.exe
    C:\Program Files\Microsoft\Exchange Server\V14\Bin\MSExchangeMailboxAssistants.exe
    C:\Program Files\Microsoft\Exchange Server\V14\Bin\MSExchangeMailboxReplication.exe
    C:\Program Files\Microsoft\Exchange Server\V14\Bin\MSExchangeMailSubmission.exe
    C:\Program Files\Microsoft\Exchange Server\V14\bin\Microsoft.Exchange.ProtectedServiceHost.exe

    Cdb.exe
    Microsoft.Exchange.Search.Exsearch.exe
    Cidaemon.exe
    Microsoft.Exchange.Servicehost.exe
    Clussvc.exe
    MSExchangeADTopologyService.exe
    Dsamain.exe
    MSExchangeFDS.exe
    EdgeCredentialSvc.exe
    MSExchangeMailboxAssistants.exe
    EdgeTransport.exe
    MSExchangeMailboxReplication.exe
    MSExchangeMailSubmission.exe
    GalGrammarGenerator.exe
    MSExchangeRepl.exe
    Inetinfo.exe
    MSExchangeTransport.exe
    MSExchangeTransportLogSearch.exe
    Microsoft.Exchange.AddressBook.Service.exe
    MSExchangeThrottling.exe
    Microsoft.Exchange.AntispamUpdateSvc.exe
    Msftefd.exe
    Microsoft.Exchange.ContentFilter.Wrapper.exe
    Msftesql.exe
    Microsoft.Exchange.EdgeSyncSvc.exe
    OleConverter.exe
    Microsoft.Exchange.Imap4.exe
    Powershell.exe
    Microsoft.Exchange.Imap4service.exe
    SESWorker.exe
    Microsoft.Exchange.Infoworker.Assistants.exe
    SpeechService.exe
    Microsoft.Exchange.Monitoring.exe
    Microsoft.Exchange.Pop3.exe
    TranscodingService.exe
    Microsoft.Exchange.Pop3service.exe
    UmService.exe
    UmWorkerProcess.exe
    Microsoft.Exchange.RPCClientAccess.Service.exe
    W3wp.exe


    Autodiscover – Use NTLM instead of basic

    August 15th, 2012

    get-OutlookAnywhere
    Set-OutlookAnywhere -Name EXCHSERVER -ClientAuthenticationMethod NTLM
    Set-OutlookAnywhere -Name EXCHSERVER -IISAuthenticationMethod Basic,NTLM