Если ($RoleDatacenterFfoEnvironment - eq "True") { # Создать OspUser $ospUserName = "OspUser"; $ospUser = $RoleDomainController ...

Если ($RoleDatacenterFfoEnvironment - eq "True")            {                # Создать OspUser $ospUserName = "OspUser";                $ospUser = $RoleDomainController get LinkedUser - DomainController |? {$_.Имя - ieq $ospUserName};                Если (-не $ospUser)                {                    $ospUserUPN = $ospUserName + "@" + $RoleFullyQualifiedDomainName;                    $ospUser = New LinkedUser-имя $ospUserName - UserPrincipalName $ospUserUPN - DomainController $RoleDomainController;                }            }