Wenn ($RoleDatacenterIsManagementForest - Eq 'True') { Add-PSSnapin Microsoft.Exchange.Management.Powershell.CentralAdmin - Ea SilentlyContinue; . $RoleBinPath\CentralAdminSetup.ps1; $scriptConfigFilePath = [System.IO.Path]::Combine ($RoleInstallPath, "Config\CentralAdminScriptDefinitions.xml"); Erstellen Sie ProxyScripts - ConfigFilePath $scriptConfigFilePath; Wenn ($RoleDatacenterFfoEnvironment - Eq "True") { $scriptConfigFilePath = [System.IO.Path]::Combine ($RoleInstallPath, "Config\FfoCentralAdminScriptDefinitions.xml"); Erstellen Sie ProxyScripts - ConfigFilePath $scriptConfigFilePath; } }
Wenn ($RoleDatacenterIsManagementForest - Eq "True") { $userName = "OspAzureUser"; $OspElevationScriptsRoleName = "OspElevation"; ...
Wenn ($RoleDatacenterIsManagementForest - Eq "True") { $userName = "OspAzureUser2"; $ospAzureRoleName = "OspAzure"; $roleAssignment ...
Wenn ($RoleDatacenterIsManagementForest - Eq "True") { Set-ThrottlingPolicyAssociation-Identity "OspAzureUser2" - ThrottlingPolicy ...
Wenn ($RoleDatacenterIsManagementForest - Eq 'True') { . $RoleBinPath\CentralAdminSetup.ps1; AddLocalComputerAccountToCentralAdminServersGroup ...
Wenn ($RoleDatacenterIsManagementForest - Eq 'True') { Add-PSSnapin Microsoft.Exchange.Management.Powershell.CentralAdmin ...
Wenn ($RoleDatacenterIsManagementForest - Eq 'True') { Neues Element HKLM:\Software\Microsoft\ExchangeServer\v15\CentralAdmin ...
Wenn ($RoleDatacenterIsManagementForest - Eq 'True') { Wenn (-nicht ([String]:: IsNullOrEmpty($RoleDatacenterCentralAdminDatabaseServer))) ...
Wenn ($RoleDatacenterIsManagementForest - Eq 'True') { Write-ExchangeSetupLog-Info "Einstellen der Web-Konfiguration für ...
Wenn ($RoleDatacenterIsManagementForest - Eq 'True') { Write-ExchangeSetupLog-Info "Standardauthentifizierung aktivieren ...