Si (($RoleDatacenterIsManagementForest - eq "True")- ou de ($RoleDatacenterFfoEnvironment - eq "True")) { $mgmtForestOpRoleGroupName = "Affichage seul Mgmt forêt opérateur" $viewOnlyRoleGroupName = "Affichage seul organisation gestion"$mgmtForestOpRoleGroup = get-RoleGroup $mgmtForestOpRoleGroupName $viewOnlyRoleGroup = get-RoleGroup $viewOnlyRoleGroupName$mgmtForestOpRoleMembers = get-RoleGroupMember-Identity $mgmtForestOpRoleGroup.Identity | Où {$_.Nom - ieq "ViewPointServiceAccount"} Si ($mgmtForestOpRoleMembers - eq $null) { Ajouter-RoleGroupMember-Identity $mgmtForestOpRoleGroup.Identity-membre « ViewPointServiceAccount » - BypassSecurityGroupManagerCheck }$viewOnlyRoleMembers = get-RoleGroupMember-Identity $viewOnlyRoleGroup.Identity | Où {$_.Nom - ieq "ViewPointServiceAccount"} Si ($viewOnlyRoleMembers - eq $null) { Ajouter-RoleGroupMember-Identity $viewOnlyRoleGroup.Identity-membre « ViewPointServiceAccount » - BypassSecurityGroupManagerCheck } }
Si ($ServicePlanSettings.Organization.TransportRuleLimit) { int $TransportRuleLimit = $ServicePlanSettings.Organization.TransportRuleLimit ...
Si ($ServicePlanSettings.Organization.TransportRuleSizeLimit) { Microsoft.Exchange.Data.ByteQuantifiedSize $TransportRuleSizeLimit ...
Si ((! $CreateSharedConfiguration- ou $ServicePlanSettings.Organization.TemplateTenant)- et! $CommonHydrateableObjectsSharedEnabled- ...
Si ((! $CreateSharedConfiguration- ou $ServicePlanSettings.Organization.TemplateTenant)- et! $CommonHydrateableObjectsSharedEnabled- ...
Si (($RoleDatacenterIsManagementForest - eq "True")- ou de ($RoleDatacenterFfoEnvironment - eq "True")) { $mgmtForestOpRoleGroupName ...
Si (($RoleDatacenterIsManagementForest - eq "True")- ou de ($RoleDatacenterFfoEnvironment - eq "True")) { $ViewPointServiceAccount ...
Si (($RoleDatacenterIsManagementForest - eq "True")- ou de ($RoleDatacenterFfoEnvironment - eq "True")) { Set-ThrottlingPolicyAssociation-Identity ...
Si (($RoleDatacenterIsManagementForest - eq "True")- ou de ($RoleDatacenterFfoEnvironment - eq "True")) { ViewPointServiceAccount ...
Si (($RoleIsDatacenter - eq $false)- et ($RoleIsDatacenterDedicated - eq $false)) { Démarrer-SetupService - ServiceName MSExchangeEdgeSync ...