Si ($RoleDatacenterFfoEnvironment - eq "True") { # Créer OspUser $ospUserName = "OspUser" ; $ospUser = get-LinkedUser - DomainController ...

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 ;                }            }