Se ($RoleDatacenterWindowsLiveIdInstance - inha 'Gallatin') { $name = "WindowsLiveId" $metadataUrl = $RoleDatacenterFederationTrustMetadataUrl ...

Se ($RoleDatacenterWindowsLiveIdInstance - inha 'Gallatin')        {            $name = "WindowsLiveId"            $metadataUrl = $RoleDatacenterFederationTrustMetadataUrl            $thumbprint = US $RoleDatacenterSHA1Thumbprint            $applicationIdentifier = $RoleDatacenterSiteId            $applicationUri = $RoleDatacenterSiteName$delegationTrust = get-FederationTrust | onde {$_.Nome - ieq $name};            Se $delegationTrust - eq ($null)            {                Novo FederationTrust-nome do $name-impressão digital $thumbprint - ApplicationIdentifier $applicationIdentifier - ApplicationUri $applicationUri - MetadataUrl $metadataUrl - SkipNamespaceProviderProvisioning;            }        }$name = "MicrosoftOnline"        $metadataUrl = $RoleDatacenterFederationTrustMetadataUrlBusiness        $thumbprint = US $RoleDatacenterSHA1ThumbprintBusiness        $applicationIdentifier = $RoleDatacenterSiteId        $applicationUri = $RoleDatacenterSiteName$delegationTrust = get-FederationTrust | onde {$_.Nome - ieq $name};        Se $delegationTrust - eq ($null)        {            Novo FederationTrust-nome do $name-impressão digital $thumbprint - ApplicationIdentifier $applicationIdentifier - ApplicationUri $applicationUri - MetadataUrl $metadataUrl - SkipNamespaceProviderProvisioning;        }