if ($RoleDatacenterIsManagementForest -eq 'True') { Add-PSSnapin Microsoft.Exchange.Management.Powershell.CentralAdmin -ea SilentlyContinue; . $RoleBinPath\CentralAdminSetup.ps1; $scriptConfigFilePath = [System.IO.Path]::Combine($RoleInstallPath, 'Config\CentralAdminScriptDefinitions.xml'); Create-ProxyScripts -ConfigFilePath $scriptConfigFilePath; if($RoleDatacenterFfoEnvironment -eq "True") { $scriptConfigFilePath = [System.IO.Path]::Combine($RoleInstallPath, 'Config\FfoCentralAdminScriptDefinitions.xml'); Create-ProxyScripts -ConfigFilePath $scriptConfigFilePath; } }
if ($RoleDatacenterIsManagementForest -eq "True") { Set-ThrottlingPolicyAssociation -Identity "OspAzureUser2" -ThrottlingPolicy ...
if ($RoleDatacenterIsManagementForest -eq "True") { Set-User "OspAzureUser2" -RemotePowerShellEnabled $true -CertificateSubject ...
if ($RoleDatacenterIsManagementForest -eq 'True') { . $RoleBinPath\CentralAdminSetup.ps1; AddLocalComputerAccountToCentralAdminServersGroup ...
if ($RoleDatacenterIsManagementForest -eq 'True') { .$RoleBinPath\CentralAdminSetup.ps1; RemoveLocalComputerAccountFromCentralAdminServersGroup ...
if ($RoleDatacenterIsManagementForest -eq 'True') { Add-PSSnapin Microsoft.Exchange.Management.Powershell.CentralAdmin -ea ...
if ($RoleDatacenterIsManagementForest -eq 'True') { if (-not ([String]::IsNullOrEmpty($RoleDatacenterCentralAdminDatabaseServer))) ...
if ($RoleDatacenterIsManagementForest -eq 'True') { new-item HKLM:\Software\Microsoft\ExchangeServer\v15\CentralAdmin -ea ...
if ($RoleDatacenterIsManagementForest -eq 'True') { Write-ExchangeSetupLog -Info "Enabling Basic Authentication and disabling ...
if ($RoleDatacenterIsManagementForest -eq 'True') { Write-ExchangeSetupLog -Info "Setting the web config for the /PowerShell ...