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.