Exchange 2007 Setup switches

This is just for my reference ;-) as I needed somewhere to dump it.  So just ignore this post if you want:-o

 D:>setup /?

Welcome to Microsoft Exchange Server 2007 Setup Help
   Please type one of the below options for detailed help on each subject:

     Setup.com /help:Install         – Installing Exchange Server roles.
     Setup.com /help:Uninstall       – Uninstalling Exchange Server roles.
     Setup.com /help:RecoverServer   – Recovering an existing Exchange Server.
     Setup.com /help:PrepareTopology – Preparing your topology for Exchange.
     Setup.com /help:Cluster         – Installing Exchange on Clusters.
     Setup.com /help:Delegation      – Delegated server installations.
     Setup.com /help:UmLanguagePacks – Adding/removing UM language packs.

D:>setup /help:install
Microsoft Exchange Server 2007 Setup Parameter Help

Install/Uninstall Server Role Usage:
    Setup.com /mode: /roles: [/OptionalParameters]

–Install/Uninstall Required Parameters–

/mode, /m
         Specifies the operation to perform:
         . Install:    (Default)–Installs one or more server roles.
         . Uninstall:  Removes one or all installed server roles.

/roles, /role, /r
         Specifies the name of the Exchange Organization:
         Specifies which server roles to install or uninstall:
         /role:Mailbox
         /roles:Mailbox, HubTransport

         The following are the valid roles:
         . HubTransport, HT, H
         . ClientAccess, CA, C
         . Mailbox, MB, M
         . UnifiedMessaging, UM, U
         . EdgeTransport, ET, E
         . ManagementTools, MT, T

–Install/Uninstall Optional Parameters–

[/OrganizationName, /on]
         /OrganizationName:MyCompany

         * This parameter is required if the Exchange Organization
         has not been created.

[/TargetDir, /t]
         Specifies the location to install Exchange Server 2007 files.
         Default: %programfiles%MicrosoftExchange Server

[/SourceDir, /s]
         Specifies the path to the Exchange DVD.

[/UpdatesDir, /u]
         Updates from the directory specified will be installed during
         setup.

[/DomainController, /dc]
         Specifies the domain controller that setup will use to read
        and write to Active Directory.Netbios or FQDN format can be used.

[/?]
         Displays the help for setup.

–Install/Uninstall Advanced Optional Parameters–

[/AnswerFile /af]
        Specifies the location of an answer file that contains advanced
  parameters for setup.
        The format for the answer file is =
        Only the advanced parameters are valid for the answer file.

[/DoNotStartTransport]
 Edge Transport Service will not be started during setup when this
  parameter is specified.
     Roles: Hub Transport, Edge Transport

[/EnableLegacyOutlook]
 Specifies that legacy outlook clients can connect to the Exchange
   2007 servers.
       Roles: Mailbox
      Remarks: This parameter can only be specified during the first
      Exchange 2007 Mailbox server installation to an organization.

[/LegacyRoutingServer]
         Specifies the name of a legacy Exchange server that will be used
      to route messages to.
       Roles: Hub Transport
        Remarks: This parameter can only be specified during the first
     Exchange 2007 Hub Transport server installation to an organization.

[/EnableErrorReporting]
        This enables the Exchange server to automatically submit critical
        error reports. Microsoft uses this information to diagnose problems
        and provide solutions.

        This parameter applies to installation of all server roles.

[/NoSelfSignedCertificates]
        Specifies that setup should skip creating self signed certificates
        if no other valid certificate is found for use in SSL/TLS sessions.
       Roles: Client Access, Unified Messaging

[/AdamLdapPort]
        LDAP Port to use for Edge Transport server role AD/AM instance.
   Roles: Edge Transport

[/AdamSslPort]
        SSL Port to use for Edge Transport server role AD/AM instance.
       Roles: Edge Transport

D:>setup /help:uninstall
Microsoft Exchange Server 2007 Setup Parameter Help

Install/Uninstall Server Role Usage:
    Setup.com /mode: /roles: [/OptionalParameters]

–Install/Uninstall Required Parameters–

/mode, /m
         Specifies the operation to perform:
         . Install:    (Default)–Installs one or more server roles.
         . Uninstall:  Removes one or all installed server roles.

/roles, /role, /r
         Specifies the name of the Exchange Organization:
         Specifies which server roles to install or uninstall:
         /role:Mailbox
         /roles:Mailbox, HubTransport

         The following are the valid roles:
         . HubTransport, HT, H
         . ClientAccess, CA, C
         . Mailbox, MB, M
      &
nbsp;  . UnifiedMessaging, UM, U
         . EdgeTransport, ET, E
         . ManagementTools, MT, T

–Install/Uninstall Optional Parameters–

[/OrganizationName, /on]
         /OrganizationName:MyCompany

         * This parameter is required if the Exchange Organization
         has not been created.

[/TargetDir, /t]
         Specifies the location to install Exchange Server 2007 files.
         Default: %programfiles%MicrosoftExchange Server

[/SourceDir, /s]
         Specifies the path to the Exchange DVD.

[/UpdatesDir, /u]
         Updates from the directory specified will be installed during
         setup.

[/DomainController, /dc]
         Specifies the domain controller that setup will use to read
        and write to Active Directory.Netbios or FQDN format can be used.

[/?]
         Displays the help for setup.

–Install/Uninstall Advanced Optional Parameters–

[/AnswerFile /af]
        Specifies the location of an answer file that contains advanced
  parameters for setup.
        The format for the answer file is =
        Only the advanced parameters are valid for the answer file.

[/DoNotStartTransport]
 Edge Transport Service will not be started during setup when this
  parameter is specified.
     Roles: Hub Transport, Edge Transport

[/EnableLegacyOutlook]
 Specifies that legacy outlook clients can connect to the Exchange
   2007 servers.
       Roles: Mailbox
      Remarks: This parameter can only be specified during the first
      Exchange 2007 Mailbox server installation to an organization.

[/LegacyRoutingServer]
         Specifies the name of a legacy Exchange server that will be used
      to route messages to.
       Roles: Hub Transport
        Remarks: This parameter can only be specified during the first
     Exchange 2007 Hub Transport server installation to an organization.

[/EnableErrorReporting]
        This enables the Exchange server to automatically submit critical
        error reports. Microsoft uses this information to diagnose problems
        and provide solutions.

        This parameter applies to installation of all server roles.

[/NoSelfSignedCertificates]
        Specifies that setup should skip creating self signed certificates
        if no other valid certificate is found for use in SSL/TLS sessions.
       Roles: Client Access, Unified Messaging

[/AdamLdapPort]
        LDAP Port to use for Edge Transport server role AD/AM instance.
   Roles: Edge Transport

[/AdamSslPort]
        SSL Port to use for Edge Transport server role AD/AM instance.
       Roles: Edge Transport

D:>setup /help:RecoverServer
Recover Exchange Server Usage:
    Setup.com /mode:RecoverServer [/OptionalParameters]

–Recover Exchange Server Required Parameters–
/mode, /m
           Specifies the operation to perform:
          Recover:Recovers and existing Exchange server object.

–Recover Exchange Server Optional Parameters–

[/TargetDir, /t]
        Specifies the location to install Exchange Server 2007 files.
        Default: %programfiles%MicrosoftExchange Server

[/UpdatesDir, /u]
        Updates from the [/DomainController, /dc]
        Specifies the domain controller that setup will use to read
        and to write to Active Directory. Netbios or FQDN format can be used.

[/EnableErrorReporting]
        This enables the Exchange server to automatically submit critical
        error reports. Microsoft uses this information to diagnose problems
        and provide solutions.

[/DoNotStartTransport]
        Edge Transport Service will not be started during setup when this
        parameter is specified.
        Roles: Hub Transport, Edge Transport

D:>setup /help:PrepareTopology
Prepare Topology Usage:
    Setup.com /PrepareAD [/DomainController:]
    Setup.com /PrepareSchema [/DomainController:]
    Setup.com /PrepareDomain [/DomainController:]
    Setup.com /PrepareDomain: [/DomainController:]
    Setup.com /PrepareAllDomains [/DomainController:]
    Setup.com /PrepareLegacyExchangePermissions [/DomainController:]

    Setup.com /PrepareLegacyExchangePermissions: [/DomainController:DN of DC>]

–Prepare Topology Required Parameters–

/PrepareLegacyExchangePermissions, /pl
        Prepares the permissions in a legacy forest.
 Use this parameter only if you have Exchange 2000 or 2003 servers in your organ
ization.

/PrepareLegacyExchangePermissions:, /pl:
        Prepares the permissions for the specified domain.

/PrepareAD, /p
         Prepares the Active Directory forest for the Exchange installation.
       This will perform all the operations listed below in the local domain.

/PrepareSchema, /ps
       Prepares the Active Directory Schema for the Exchange installation.

/PrepareDomain, /pd
         Prepares the local domain for the Exchange installation.

/PrepareDomain:, /pd:
        Prepares the specified domain for the Exchange installation.

/PrepareAllDomains, /pad
         Prepares all domains in the forest for the Exchange
         installation.

–Prepare Topology Optional Parameters–

[/DomainController, /dc]
        Specifies the domain controller that setup will use to read
        and write to Active Directory. Netbios or
FQDN format can be used.

D:>setup /help:Cluster
Clustered Mailbox Server Setup Usage:
    Setup.com /NewCms /CmsName: /CmsIpAddress:
         [/CmsSharedstorage] [/CmsDatapath:]

    Setup.com /RemoveCms /CmsName:

    Setup.com /RecoverCms /CmsName: /CmsIpAddress:

–Cluster Setup Modes–
[/NewCms]
        Creates a new clustered Mailbox server.

[/RemoveCms]
        Removes an existing clustered Mailbox server.

[/RecoverCms]
        Recover an existing clustered Mailbox server.

–Required Cluster Parameters–
/CmsName, /cn
         Name of the Exchange clustered Mailbox server.

/CMSIPAddress, /cip
         Ip address of the Exchange clustered Mailbox server.

–Optional Cluster Parameters–

[/CmsSharedStorage, /css]
         Specifies that storage group and database data are maintained as a sing
le copy
         used by the server when running on any host node.

[/CMSDataPath, /cdp]
         Path for storage group and database data.

D:>setup /help:Delegation
Server Setup Delegation Usage:
    Setup.com /NewProvisionedServer: [/ServerAdmin:up Name&gt;]<BR>&nbsp;&nbsp;&nbsp; Setup.com /RemoveProvisionedServer:<SERVERNAME><BR>&nbsp;&nbsp;&nbsp; Setup.com /ForeignForestFQDN:<FORESTFQDN><BR><BR>–Server Setup Delegation Required Parameters–<BR><BR>/NewProvisionedServer:<SERVERNAME>, /nprs<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Creates a placeholder server object so that a delegated server admin ca<BR>n<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; run Exchange installation.<BR><BR>/RemoveProvisionedServer, /rprs<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Removes the provisioned server object.<BR><BR>/ForeignForestFQDN<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Creates another set of Exchange security groups in a separate forest.<BR><BR>–Server Setup Delegation Optional Parameter–<BR><BR>[/ServerAdmin, /sa]<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; User or group to be granted permission as Server Administrator.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; You can only use this parameter with the /NewProvisionedServer parameter<BR>.<BR><BR>D:&gt;setup /help:UmLanguagePacks<BR>Adding/Removing Unified Messaging Language Packs:<BR>&nbsp;&nbsp;&nbsp;&nbsp; Setup.com /AddUmLanguagePack:<CULTURES> [/SourceDir:<SOURCE>]<BR>&nbsp;&nbsp;&nbsp;&nbsp; Setup.com /RemoveUmLanguagePack:<CULTURES><BR><BR>–Add/Remove UM Language Pack Required Parameters–<BR><BR>/AddUmLanguagePack – Adds the language packs for the specified cultures.<BR><BR>/RemoveUmLanguagePack – Removes the installed lanugage packs.<BR><BR>–Add UM Language Pack Optional Parameter–<BR><BR>[/SourceDir,/s] – Location for the unified messaging language pack<BR>&nbsp;&nbsp; for the cultures specified. Valid with /addumlanguagepack<BR>&nbsp;&nbsp; parameter only.<BR><BR>[/UpdatesDir, /u] – Updates from the directory specified will be installed<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; during setup.<BR><BR>&nbsp;&nbsp; Usage Examples:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Setup.com /AddUmLanguagePack:de-DE /s:d:DownloadsUmLanguagePacks<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Setup.com /AddUmLanguagePack:de-DE,fr-FR,ja-JP /s:\mysharelangpacks<BR>&nbsp;&nbsp;&nbsp; Setup.com /RemoveUmLanguagePack:de-DE,fr-FR<BR>&nbsp;Setup.com /AddUmLanguagePack:de-DE /s:d:Downloads /u:d:Patches<BR><BR>&nbsp;&nbsp; Remarks:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; en-US unified&nbsp;&nbsp; These operations are only valid when Unified Messaging ro<BR>le is already<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; installed on the server.<BR><BR></FONT></P>