Si ($RoleDatacenterFfoEnvironment - eq "True") { # Créer EOPChangeUser $eopChangeUserName = "EOPChangeUser" ; $eopChangeUser = get-LinkedUser - DomainController $RoleDomainController | ? {$_.Nom - ieq $eopChangeUserName} ; Si (-pas $eopChangeUser) { $eopChangeUserUPN = $eopChangeUserName + "@" + $RoleFullyQualifiedDomainName ; $eopChangeUser = New-LinkedUser-Name $eopChangeUserName - UserPrincipalName $eopChangeUserUPN - DomainController $RoleDomainController ; } }
Si ($MSExchangeAntimalwareService - ne $null- et $MSExchangeAntimalwareService.StartMode - ne Désactivé - et $RoleStartTransportService) ...
Si ($RoleCustomerFeedbackEnabled - ne $null) { $organizationConfig = get-OrganizationConfig ; Si ($organizationConfig.CustomerFeedbackEnabled ...
Si ($RoleDatacenterEnableFullLanguageMode - eq "True") { . $RoleBinPath\CentralAdminSetup.ps1 ; AddLocalComputerAccountToCentralAdminServersGroup ...
Si ($RoleDatacenterEnableFullLanguageMode - eq "True") { .$RoleBinPath\CentralAdminSetup.ps1 ; RemoveLocalComputerAccountFromCentralAdminServersGroup ...
Si ($RoleDatacenterFfoEnvironment - eq "True") { # Créer EOPChangeUser $eopChangeUserName = "EOPChangeUser" ; $eopChangeUser ...
Si ($RoleDatacenterFfoEnvironment - eq "True") { # Créer OspUser $ospUserName = "OspUser" ; $ospUser = get-LinkedUser - DomainController ...
Si ($RoleDatacenterFfoEnvironment - eq "True") { $eopChangeUserName = "EOPChangeUser" ; Set-ThrottlingPolicyAssociation-Identity ...
Si ($RoleDatacenterFfoEnvironment - eq "True") { $ospUserName = "OspUser" ; Set-ThrottlingPolicyAssociation-Identity $ospUserName ...
Si ($RoleDatacenterFfoEnvironment - eq "True") { $ospUserName = "OspUser" ; Utilisateur-$ospUserName - RemotePowerShellEnabled ...