Tuesday, September 1, 2015

[EX2013] Unattended installation




The following are examples of using Setup.exe:

  • Setup.exe /mode:Install /role:ClientAccess,Mailbox /OrganizationName:MyOrg /IAcceptExchangeServerLicenseTerms
    This command creates an Exchange 2013 organization in Active Directory called MyOrg, installs the Client Access server role, Mailbox server role, and the management tools and also accepts the Exchange 2013 licensing terms.

  • Setup.exe /mode:Install /role:ClientAccess,Mailbox /TargetDir:"C:\Exchange Server" /IAcceptExchangeServerLicenseTerms
    This command installs the Client Access server role, the Mailbox server role, and the management tools to the "C:\Exchange Server" directory. This command assumes an Exchange 2013 organization has already been prepared.

  • Setup.exe /mode:Install /r:CA,MB /IAcceptExchangeServerLicenseTerms
    This command installs the Client Access server role, the Mailbox server role, and the management tools to the default installation location.

  • Setup.exe /mode:Install /r:EdgeTransport /IAcceptExchangeServerLicenseTerms
    This command installs the Edge Transport server role and the management tools to the default installation location.

  • Setup.exe /mode:Install /r:ET /IAcceptExchangeServerLicenseTerms
    This command installs the Edge Transport server role and the management tools to the default installation location.

  • Setup.exe /mode:Uninstall /IAcceptExchangeServerLicenseTerms
    This command completely removes Exchange 2013 from the server and removes this server's Exchange configuration from Active Directory.

  • Setup.exe /PrepareAD /on:"My Org" /IAcceptExchangeServerLicenseTerms
    This command creates an Exchange organization called My Org and prepares Active Directory for Exchange 2013.

  • C:\ExchangeServer\bin\Setup.exe /m:Install /r:ClientAccess /SourceDir:d:\amd64 /IAcceptExchangeServerLicenseTerms
    This command adds the Client Access server role to an existing Exchange 2013 server using D:\amd64 as the source directory.

  • Setup.exe /role:ClientAccess,Mailbox /UpdatesDir:"C:\ExchangeServer\New Patches" /IAcceptExchangeServerLicenseTerms
    This command updates ExchangeServer.msi with patches from the specified directory, and then installs the Client Access server role, Mailbox server role, and the management tools. If a language pack bundle is included in this directory, the language pack is also installed.

  • Setup.exe /mode:Install /role:ClientAccess,Mailbox /DomainController:DC01 /IAcceptExchangeServerLicenseTerms
    This command uses the domain controller DC01 to query and make changes to Active Directory while installing the Client Access server role, Mailbox server role, and the management tools.

  • Setup.exe /mode:Install /role:ClientAccess /AnswerFile:c:\ExchangeConfig.txt /IAcceptExchangeServerLicenseTerms
    This command installs the Client Access server role by using the settings in the ExchangeConfig.txt file.

  • Setup.exe /rprs:Exchange03 /IAcceptExchangeServerLicenseTerms
    This command removes the object Exchange03 from Active Directory.

  • Setup.exe /AddUmLanguagePack:ko-KR /IAcceptExchangeServerLicenseTerms
    This command installs the Korean Unified Messaging language pack from the %ExchangeSourceDir%\ServerRoles\UnifiedMessaging directory.

[EX2013] Virtual Directories





Default website
Anonymous
Required
      
aspnet_client
Anonymous authentication
SSL required
Requires 128-bit encryption
      
Autodiscover
Anonymous authentication
Basic authentication
Windows authentication
SSL required
Requires 128-bit encryption
      
ecp
Anonymous authentication
Basic authentication
SSL required
Requires 128-bit encryption
      
EWS
Anonymous authentication
Windows authentication
SSL required
Requires 128-bit encryption
      
Microsoft-Server-ActiveSync
Basic authentication
SSL required
Requires 128-bit encryption
      
OAB
Windows authentication
Not required

owa
Basic authentication
SSL required
Requires 128-bit encryption

PowerShell
Anonymous authentication
Not required

Rpc
Basic authentication
Windows authentication
SSL required
Requires 128-bit encryption

RpcWithCert
By default, all authentication methods are disabled.
Required

[EX2013] Transport Pipeline






Mail flow
https://technet.microsoft.com/en-us/library/aa996349(v=exchg.150).aspx

[EX2013] Pre-requisites



Exchange 2013 CU3   Windows Management Framework 3.0
Exchange 2013 SP1    Windows Management Framework 4.0

  • Em um computador com Windows Server 2012 R2 ou Windows Server 2012, execute o seguinte comando.

Install-WindowsFeature RSAT-ADDS

  • Em um computador com Windows Server 2008 R2 SP1, execute o seguinte comando.

Add-WindowsFeature RSAT-ADDS

  • CAS and/or Mailbox (2012 R2)

Install-WindowsFeature RSAT-ADDS,AS-HTTP-Activation, Desktop-Experience, NET-Framework-45-Features, RPC-over-HTTP-proxy, RSAT-Clustering, RSAT-Clustering-CmdInterface, RSAT-Clustering-Mgmt, RSAT-Clustering-PowerShell, Web-Mgmt-Console, WAS-Process-Model, Web-Asp-Net45, Web-Basic-Auth, Web-Client-Auth, Web-Digest-Auth, Web-Dir-Browsing, Web-Dyn-Compression, Web-Http-Errors, Web-Http-Logging, Web-Http-Redirect, Web-Http-Tracing, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Lgcy-Mgmt-Console, Web-Metabase, Web-Mgmt-Console, Web-Mgmt-Service, Web-Net-Ext45, Web-Request-Monitor, Web-Server, Web-Stat-Compression, Web-Static-Content, Web-Windows-Auth, Web-WMI, Windows-Identity-Foundation, RSAT-DNS-Server, GPMC, Telnet-Client

  • Edge Transport (2012 R2)

Install-WindowsFeature ADLDS

  • CAS and/or Mailbox (2008 R2)

Import-Module ServerManager

Add-WindowsFeature RSAT-ADDS,Desktop-Experience, NET-Framework, NET-HTTP-Activation, RPC-over-HTTP-proxy, RSAT-Clustering, RSAT-Web-Server, WAS-Process-Model, Web-Asp-Net, Web-Basic-Auth, Web-Client-Auth, Web-Digest-Auth, Web-Dir-Browsing, Web-Dyn-Compression, Web-Http-Errors, Web-Http-Logging, Web-Http-Redirect, Web-Http-Tracing, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Lgcy-Mgmt-Console, Web-Metabase, Web-Mgmt-Console, Web-Mgmt-Service, Web-Net-Ext, Web-Request-Monitor, Web-Server, Web-Stat-Compression, Web-Static-Content, Web-Windows-Auth, Web-WMI, RSAT-DNS-Server, GPMC, Telnet-Client

  • Edge Transport (2008 R2)

Import-Module ServerManager

Add-WindowsFeature NET-Framework, ADLDS

[EX2010] FPE Links





Forefront Protection for Exchange
https://technet.microsoft.com/en-us/library/ff684062.aspx

Forefront Protection 2010 for Exchange Server
https://technet.microsoft.com/en-us/library/cc482977.aspx

Forefront Security for Exchange Server
https://technet.microsoft.com/en-us/library/bb914001.aspx

Antigen
https://technet.microsoft.com/en-us/library/bb913985.aspx

[EX2010] Exchange Network Port Reference




Exchange Network Port Reference

[EX2010] Increase email size limits



Get-TransportConfig | fl MaxSendSize,MaxReceiveSize










Set-TransportConfig -MaxReceiveSize 30MB -MaxSendSize 30MB









Get-Adsitelink <AdSitelink> | select Maxmessagesize










Set-Adsitelink <Sitelinkname> -MaxMessageSize 30MB

Get-Sendconnector "<Connectorname>" | fl Name,MaxMessageSize










Set-Sendconnector "<Connectorname>" -MaxMessageSize 30MB

Get-Receiveconnector -Identity "<Connectorname>" | fl Name,MaxMessagesize









Set-ReceiveConnector -Identity "<connectorname> -MaxMessageSize 30MB

Get-Mailbox <mailbox> | fl MaxSendSize,MaxReceiveSize











Set-Mailbox <mailbox> -MaxSendSize 10MB -MaxReceiveSize 10MB