if ($RoleIsDatacenter -and !$RoleIsDatacenterDedicated -and $RoleIsPartnerHosted -ne $true -and $RoleDatacenterFfoEnvironment ...

if ($RoleIsDatacenter -and !$RoleIsDatacenterDedicated -and $RoleIsPartnerHosted -ne $true -and $RoleDatacenterFfoEnvironment -ne "True")          {            $authConfig = Get-AuthConfig;            if(([System.String]::IsNullOrEmpty($authConfig.DeploymentId)) -or ([System.String]::IsNullOrEmpty($authConfig.IssuerIdentifier)))            {              Set-AuthConfig -DeploymentId $RoleDatacenterAuthConfigDeploymentId -IssuerIdentifier $RoleDatacenterAuthConfigIssuerIdentifier -DomainController $RoleDomainController;            }          }                      if ($RoleDatacenterWindowsLiveIdInstance -ine 'Gallatin')          {            $thumbprint = $RoleDatacenterSHA1Thumbprint            $authConfig = Get-AuthConfig;            #            # Set current certificate thumbprint, if it is not already set.            #            if (![string]::IsNullOrEmpty($thumbprint) -and ($authConfig.CurrentCertificateThumbprint -ine $thumbprint))            {              Set-AuthConfig -CertificateThumbprint $thumbprint -DomainController $RoleDomainController -Force;            }          }