if ($RoleDatacenterIsManagementForest -eq 'True') { Write-ExchangeSetupLog -Info "Enabling Basic Authentication and disabling client certificate authentication on the /PowerShell virtual directory"; $vdirName = "PowerShell (Default Web Site)"; Set-PowerShellVirtualDirectory $vdirName -DomainController $RoleDomainController -BasicAuthentication:$false -CertificateAuthentication:$true -ErrorAction SilentlyContinue; $psvdir = get-PowerShellVirtualDirectory -server $RoleFqdnOrName -DomainController $RoleDomainController | where { $_.Name -eq $vdirName }; if ($psvdir -eq $null) { Write-ExchangeSetupLog -Warning "Could not retrieve the configuration information of the /Powershell virtual directory"; } else { if ($psvdir.BasicAuthentication -ne $false) { Write-ExchangeSetupLog -Warning "Could not disable Basic Authentication on the /Powershell virtual directory"; } if ($psvdir.CertificateAuthentication -ne $false) { Write-ExchangeSetupLog -Warning "Could not disable client certificate authentication on the /Powershell virtual directory"; } } }
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 ...
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 ...