Get-AdfsRelyingPartyWebContent

Get-AdfsRelyingPartyWebContent

Gets web content objects for relying parties.

Syntax

Parameter Set: Default
Get-AdfsRelyingPartyWebContent [-Locale <CultureInfo> ] [-Name <String[]> ] [ <CommonParameters>]

Detailed 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.

Parameters

-Locale<CultureInfo>

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

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Name<String[]>

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

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • 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

Examples

Example 1: Get all web content objects

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

PS C:\> Get-AdfsRelyingPartyWebContent

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

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

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

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

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

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

Remove-AdfsRelyingPartyWebContent

Set-AdfsRelyingPartyWebContent