Se ($RoleDatacenterIsManagementForest - eq "True") { US $OspAzureUser2 = $RoleDomainController de LinkedUser de Get - DomainController ...

Se ($RoleDatacenterIsManagementForest - eq "True")          {              US $OspAzureUser2 = $RoleDomainController de LinkedUser de Get - DomainController | onde {$_.Nome - ieq "OspAzureUser2"};              Se$ OspAzureUser2 - eq ($null)              {                  US $OspAzureUser2UPN = "OspAzureUser2 @" + $RoleFullyQualifiedDomainName;                  US $OspAzureUser2 = novo LinkedUser-nome "OspAzureUser2" - UserPrincipalName $OspAzureUser2UPN - DomainController $RoleDomainController;              }          }