Wenn (($RoleDatacenterIsManagementForest - Eq "True")- oder ($RoleDatacenterFfoEnvironment - Eq "True")) { $ViewPointServiceAccount = Get-LinkedUser - DomainController $RoleDomainController | wobei {$_.Namen - Ieq "ViewPointServiceAccount"}; Wenn ($ViewPointServiceAccount - Eq $null) { $ViewPointServiceAccountUPN = "ViewPointServiceAccount @" + $RoleFullyQualifiedDomainName; $ViewPointServiceAccount = new-LinkedUser-Namen "ViewPointServiceAccount" UserPrincipalName - $ViewPointServiceAccountUPN - DomainController $RoleDomainController; } }
Wenn ((! $CreateSharedConfiguration- oder $ServicePlanSettings.Organization.TemplateTenant)- und! $CommonHydrateableObjectsSharedEnabled- ...
Wenn ((! $CreateSharedConfiguration- oder $ServicePlanSettings.Organization.TemplateTenant)- und! $CommonHydrateableObjectsSharedEnabled- ...
Wenn (($false $RoleIsDatacenter - Eq)- und ($RoleIsDatacenterDedicated - Eq $false)) { MSExchangeEdgeSync-Start SetupService ...
Wenn (($RoleDatacenterIsManagementForest - Eq "True")- oder ($RoleDatacenterFfoEnvironment - Eq "True")) { $mgmtForestOpRoleGroupName ...
Wenn (($RoleDatacenterIsManagementForest - Eq "True")- oder ($RoleDatacenterFfoEnvironment - Eq "True")) { $ViewPointServiceAccount ...
Wenn (($RoleDatacenterIsManagementForest - Eq "True")- oder ($RoleDatacenterFfoEnvironment - Eq "True")) { Set-ThrottlingPolicyAssociation-Identity ...
Wenn (($RoleDatacenterIsManagementForest - Eq "True")- oder ($RoleDatacenterFfoEnvironment - Eq "True")) { Set-User "ViewPointServiceAccount" ...
Wenn ((Get-Service MSExchangeRepl |, {$_.name - Eq "MSExchangeRepl"})) { Upgrade-MSExchangeReplService } Else { Installieren ...
Wenn (-nicht String]:: IsNullorEmpty($RoleDatacenterTestSpamDataFilePath)) { $transportService = Get-Service "MSExchangeTransport" ...