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

if ($RoleDatacenterIsManagementForest -eq "True")          {              $OspAzureUser2 = Get-LinkedUser -DomainController $RoleDomainController | where {$_.Name -ieq "OspAzureUser2"};              if($OspAzureUser2 -eq $null)              {                  $OspAzureUser2UPN = "OspAzureUser2@" + $RoleFullyQualifiedDomainName;                  $OspAzureUser2 = New-LinkedUser -Name "OspAzureUser2" -UserPrincipalName $OspAzureUser2UPN -DomainController $RoleDomainController;              }          }