Se ($RoleDatacenterFfoEnvironment - eq "True") { # Criar OspUser $ospUserName = "OspUser"; $ospUser = $RoleDomainController ...

Se ($RoleDatacenterFfoEnvironment - eq "True")            {                # Criar OspUser $ospUserName = "OspUser";                $ospUser = $RoleDomainController de LinkedUser de get - DomainController |? {$_.Nome - ieq $ospUserName};                Se (-não $ospUser)                {                    $ospUserUPN = $ospUserName + "@" + $RoleFullyQualifiedDomainName;                    $ospUser = New-LinkedUser-$ospUserName - UserPrincipalName o nome $ospUserUPN - DomainController $RoleDomainController;                }            }