This was always really handy for me, I figured I’d offer it up here. These are some detailed examples on how to use the Setup executable with the available switches. Just browse to the drive letter of the media you are working with and go for it. For the record, you don’t need to enter “.exe” at the end of it.
Here’s the link to the original documentation: http://technet.microsoft.com/en-us/library/aa997281(v=exchg.150).aspx
- 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”
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 /r:CA,MB
This command installs the Client Access server role, the Mailbox server role, and the management tools to the default installation location. - Setup.exe /mode:Uninstall
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”
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
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”
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
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
This command installs the Client Access server role by using the settings in the ExchangeConfig.txt file. - Setup.exe /rprs:Exchange03
This command removes the object Exchange03 from Active Directory. - Setup.exe /AddUmLanguagePack:ko-KR
This command installs the Korean Unified Messaging language pack from the %ExchangeSourceDir%\ServerRoles\UnifiedMessaging directory
Recent Activity