if ($RoleDatacenterIsManagementForest -eq 'True') { Write-ExchangeSetupLog -Info "Setting the web config for the /PowerShell virtual directory to enable FullLanguageMode"; $powerShellVdirPath = [System.IO.Path]::Combine((Get-ItemProperty -path 'HKLM:SOFTWARE\Microsoft\ExchangeServer\v15\Setup').MsiInstallPath,"ClientAccess\PowerShell"); if (Test-Path("$powerShellVdirPath\web.config")) { $webConfig = [xml] [string]::join("`n", (Get-Content "$powerShellVdirPath\web.config")); ($webconfig.configuration.appSettings.add | where {$_.key -eq "PSLanguageMode"}).value = "FullLanguage"; $webconfig.Save("$powershellvdirpath\web.config"); } else { Write-ExchangeSetupLog -Warning "Could not find web.config under $powerShellVdirPath"; } }
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 ...
if ($RoleDatacenterWindowsLiveIdInstance -ine 'Gallatin') { $name = "WindowsLiveId" $metadataUrl = $RoleDatacenterFederationTrustMetadataUrl ...
if ($RoleDatacenterWindowsLiveIdInstance -ine 'Gallatin') { ."$RoleBinPath\.\Scripts\enable-edgesyncmservconfig.ps1" ` - ...
if ($RoleExternalCASServerDomain -ne $null) { $ExternalAutoDiscoverUrl = "https://" + $RoleExternalCASServerDomain + "/a ...
if ($RoleExternalCASServerDomain -ne $null) { $ExternalAutoDiscoverUrl = "https://" + $RoleExternalCASServerDomain + "/a ...