Get-Adfs Relying Party Web Content

Gets web content objects for relying parties.

Syntax

Get-AdfsRelyingPartyWebContent
   [-Locale <CultureInfo>]
   [-RelyingPartyName <String[]>]
   [<CommonParameters>]

Description

The Get-AdfsRelyingPartyWebContent cmdlet gets web content objects for relying parties. Specify a relying party by name. If you do not specify a name, the cmdlet gets all relying party web content objects. If you do not specify a locale, the cmdlet gets web content for all locales.

Examples

Example 1: Get all web content objects

PS C:\> Get-AdfsRelyingPartyWebContent

This command gets web content objects for all relying parties and locales.

Example 2: Get web content objects for a specified relying party

PS C:\> Get-AdfsRelyingPartyWebContent -Name "RelyingParty01"

This command gets web content objects for the relying party named RelyingParty01 for all locales.

Example 3: Get the web content object for a specified relying party and locale

PS C:\> Get-AdfsRelyingPartyWebContent -Locale en-us -Name "RelyingParty01"

This command gets web content objects for the relying party named RelyingParty01 for the specified locale.

Optional Parameters

-Locale

Specifies a locale. The cmdlet gets relying party web content for the locale that you specify.

Type: CultureInfo
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-RelyingPartyName

Specifies an array of names of relying parties.

Type: String[]
Aliases: Name
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

Outputs

Microsoft.IdentityServer.Management.Resources.AdfsRelyingPartyWebContent, Microsoft.IdentityServer.Management.Resources.AdfsRelyingPartyWebContent[]

This cmdlet generates a System.IdentityServer.Management.Resources.AdfsRelyingPartyWebContent object that represents web content of a relying party, or an array of such objects. The object includes the following properties:

  • Locale: System.Globalization.CultureInfo
  • Name: System.String
  • ErrorPageGenericErrorMessage: System.String
  • ErrorPageAuthorizationErrorMessage: System.String
  • ErrorPageDeviceAuthenticationErrorMessage: System.String