Si ($RoleDatacenterFfoEnvironment - eq "True") { # Créer OspUser $ospUserName = "OspUser" ; $ospUser = get-LinkedUser - DomainController $RoleDomainController | ? {$_.Nom - ieq $ospUserName} ; Si (-pas $ospUser) { $ospUserUPN = $ospUserName + "@" + $RoleFullyQualifiedDomainName ; $ospUser = New-LinkedUser-Name $ospUserName - UserPrincipalName $ospUserUPN - DomainController $RoleDomainController ; } }
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 ...
Si ($RoleDatacenterFfoEnvironment - eq "True") { Installation-CannedRbacRoleAssignments - InvocationMode $RoleInstallationMode ...