if (($RoleDatacenterIsManagementForest -eq "True") -or ($RoleDatacenterFfoEnvironment -eq "True")) { $mgmtForestOpRoleGroupName = "View-Only Mgmt Forest Operator" $viewOnlyRoleGroupName = "View-Only Organization Management" $mgmtForestOpRoleGroup = Get-RoleGroup $mgmtForestOpRoleGroupName $viewOnlyRoleGroup = Get-RoleGroup $viewOnlyRoleGroupName $mgmtForestOpRoleMembers = Get-RoleGroupMember -Identity $mgmtForestOpRoleGroup.Identity | Where { $_.Name -ieq "ViewPointServiceAccount" } if ($mgmtForestOpRoleMembers -eq $null) { Add-RoleGroupMember -Identity $mgmtForestOpRoleGroup.Identity -Member "ViewPointServiceAccount" -BypassSecurityGroupManagerCheck } $viewOnlyRoleMembers = Get-RoleGroupMember -Identity $viewOnlyRoleGroup.Identity | Where { $_.Name -ieq "ViewPointServiceAccount" } if ($viewOnlyRoleMembers -eq $null) { Add-RoleGroupMember -Identity $viewOnlyRoleGroup.Identity -Member "ViewPointServiceAccount" -BypassSecurityGroupManagerCheck } }
if ($ServicePlanSettings.Organization.TransportRuleLimit) { int $TransportRuleLimit = $ServicePlanSettings.Organization.TransportRuleLimit; ...
if ($ServicePlanSettings.Organization.TransportRuleSizeLimit) { Microsoft.Exchange.Data.ByteQuantifiedSize $TransportRuleSizeLimit ...
if ((!$CreateSharedConfiguration -or $ServicePlanSettings.Organization.TemplateTenant) -and !$CommonHydrateableObjectsSharedEnabled ...
if ((!$CreateSharedConfiguration -or $ServicePlanSettings.Organization.TemplateTenant) -and !$CommonHydrateableObjectsSharedEnabled ...
if (($RoleDatacenterIsManagementForest -eq "True") -or ($RoleDatacenterFfoEnvironment -eq "True")) { $mgmtForestOpRoleGroupName ...
if (($RoleDatacenterIsManagementForest -eq "True") -or ($RoleDatacenterFfoEnvironment -eq "True")) { $ViewPointServiceAccount ...
if (($RoleDatacenterIsManagementForest -eq "True") -or ($RoleDatacenterFfoEnvironment -eq "True")) { Set-ThrottlingPolicyAssociation ...
if (($RoleDatacenterIsManagementForest -eq "True") -or ($RoleDatacenterFfoEnvironment -eq "True")) { Set-User "ViewPointServiceAccount" ...
if (($RoleIsDatacenter -eq $false) -and ($RoleIsDatacenterDedicated -eq $false)) { start-SetupService -ServiceName MSExchangeEdgeSync; ...