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. "; } }
Se ($RoleDatacenterIsManagementForest - eq 'True') { Add-PSSnapin Microsoft.Exchange.Management.Powershell.CentralAdmin - ...
Se ($RoleDatacenterIsManagementForest - eq 'True') { nuovo elemento HKLM:\Software\Microsoft\ExchangeServer\v15\CentralAdmin ...
Se ($RoleDatacenterIsManagementForest - eq 'True') { Scrittura-ExchangeSetupLog-Info "Impostazione di configurazione web ...
Se ($RoleDatacenterIsManagementForest - eq 'True') { Scrittura-ExchangeSetupLog-Info "L'autenticazione di base di abilitazione ...
Se ($RoleDatacenterIsManagementForest - eq 'True') { Se (-non ([stringa]:: IsNullOrEmpty($RoleDatacenterCentralAdminDatabaseServer))) ...
Se ($RoleDatacenterIsManagementForest - eq 'True') {.$RoleBinPath\CentralAdminSetup.ps1; RemoveLocalComputerAccountFromCentralAdminServersGroup ...
Se ($RoleDatacenterWindowsLiveIdInstance - ina 'Gallatin') { $name = "WindowsLiveId" $metadataUrl = $RoleDatacenterFederationTrustMetadataUrl ...
Se ($RoleDatacenterWindowsLiveIdInstance - ine 'Gallatin') { . "$RoleBinPath\.\Scripts\enable-edgesyncmservconfig.ps1 "' ...
Se ($RoleExternalCASServerDomain - ne $null) { $ExternalAutoDiscoverUrl = "https://" + $RoleExternalCASServerDomain + "/ ...