Если ($RoleExternalCASServerDomain - ne $null) { $ExternalAutoDiscoverUrl = "https://" + $RoleExternalCASServerDomain + "/ autodiscover/autodiscover.svc"; Get-AutodiscoverVirtualDirectory - ShowMailboxVirtualDirectories-сервера: $RoleFqdnOrName - DomainController $RoleDomainController | Набор AutodiscoverVirtualDirectory - ExternalUrl $ExternalAutoDiscoverUrl; }
Если ($RoleDatacenterIsManagementForest - eq "Истина") {.$RoleBinPath\CentralAdminSetup.ps1; RemoveLocalComputerAccountFromCentralAdminServersGroup ...
Если ($RoleDatacenterIsManagementForest - eq True ) {} $policyName = Microsoft.Exchange.Data.Directory.SystemConfigurati ...
Если ($RoleDatacenterWindowsLiveIdInstance - ИНЕ Галлатин ) {} . $RoleBinPath\.\Scripts\enable-edgesyncmservconfig.ps1 ' ...
Если ($RoleDatacenterWindowsLiveIdInstance - счет "Gallatin") { $name = "WindowsLiveId" $metadataUrl = $RoleDatacenterFederationTrustMetadataUrl ...
Если ($RoleExternalCASServerDomain - ne $null) { $ExternalAutoDiscoverUrl = "https://" + $RoleExternalCASServerDomain + "/ ...
Если ($RoleExternalCASServerDomain - ne $null) { $ExternalAutoDiscoverUrl = "https://" + $RoleExternalCASServerDomain + "/ ...
Если ($RoleHotmailMigration - eq $true- или $ServicePlanSettings.Organization.AddOutlookAcceptedDomains) { Новый AcceptedDomain-outlook.com ...
Если ($RoleHotmailMigration - eq $true- или $ServicePlanSettings.Organization.OpenDomainRoutingEnabled) { SET-Transportconfig ...
Если ($RoleIsDatacenter - eq $true) {} Если (! ()get-service MSExchangeWatchDog | где {$_.name - eq "MSExchangeWatchDog"})) ...