Se ($RoleDatacenterIsManagementForest - eq 'True') { Se (-non ([stringa]:: IsNullOrEmpty($RoleDatacenterCentralAdminDatabaseServer))) ...

Se ($RoleDatacenterIsManagementForest - eq 'True')          {              Se (-non ([stringa]:: IsNullOrEmpty($RoleDatacenterCentralAdminDatabaseServer)))              {                itemproperty set-percorso HKLM:\Software\Microsoft\ExchangeServer\v15\CentralAdmin-nome "DatabaseServer"-$RoleDatacenterCentralAdminDatabaseServer valore;              }              Else              {                ExchangeSetupLog di scrittura-avviso "Impossibile identificare il nome del server database Amministrazione centrale per memorizzare nel Registro di sistema. Il Registro di sistema potrebbe essere necessario impostare manualmente dopo l'installazione. ";              }                  Se (-non ([stringa]:: IsNullOrEmpty($RoleDatacenterCentralAdminMirrorDatabaseServer)))              {                itemproperty set-percorso HKLM:\Software\Microsoft\ExchangeServer\v15\CentralAdmin-nome "MirrorDatabaseServer"-$RoleDatacenterCentralAdminMirrorDatabaseServer valore;              }              Else              {                ExchangeSetupLog di scrittura-avviso "Impossibile identificare il nome del server database mirror Amministrazione centrale per memorizzare nel Registro di sistema. Il Registro di sistema potrebbe essere necessario impostare manualmente dopo l'installazione. ";              }          }