RoleBinPath\CentralAdminSetup.ps1; if(-not(IsDatabaseCurrent([System.IO.Path]::Combine($RoleBinPath, "Microsoft.Exchange ...

. $RoleBinPath\CentralAdminSetup.ps1;                    if(-not(IsDatabaseCurrent([System.IO.Path]::Combine($RoleBinPath, "Microsoft.Exchange.Management.Powershell.CentralAdmin.dll"))))                    {                        $currentECADB = GetCurrentECADBName([System.IO.Path]::Combine($RoleBinPath, "Microsoft.Exchange.Management.Powershell.CentralAdmin.dll"));                        $CentralAdminDatabaseServer = GetDBServerName -dbServerName $RoleDatacenterCentralAdminDatabaseServer;                        [string] $sqlCommand = "IF NOT EXISTS (SELECT [name] FROM sysusers WHERE [name] = 'bootstrap') BEGIN CREATE USER [bootstrap] FOR LOGIN [bootstrap] END";                        execute-sqlcommand -ServerName $CentralAdminDatabaseServer -DatabaseName $currentECADB -Command $sqlCommand -Timeout $RoleDatacenterSqlOperationTimeout;                        if($RoleDatacenterFfoEnvironment -ne "True")                        {                           [string] $sqlCommand2 = "IF NOT EXISTS (SELECT [name] FROM sysusers WHERE [name] = 'bootstrap2') BEGIN CREATE USER [bootstrap2] FOR LOGIN [bootstrap2] END";                           execute-sqlcommand -ServerName $CentralAdminDatabaseServer -DatabaseName $currentECADB -Command $sqlCommand2 -Timeout $RoleDatacenterSqlOperationTimeout;                        }                    }
English
English (United States)
Deutsch (Deutschland)
German (Germany)