Get-AdfsGlobalWebContent

Get-AdfsGlobalWebContent

Gets global web content objects.

Syntax

Parameter Set: IdentifierName
Get-AdfsGlobalWebContent [-Locale <CultureInfo[]> ] [ <CommonParameters>]

Detailed Description

The Get-AdfsGlobalWebContent cmdlet gets all global web content objects or the global web content object that corresponds to the locale that you specify. If you do not specify the Locale parameter, the cmdlet gets global web content objects for all locales.

Parameters

-Locale<CultureInfo[]>

Specifies an array of locales. The cmdlet gets the global web content associated with the locales that you specify.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

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.AdfsGlobalWebContent;Microsoft.IdentityServer.Management.Resources.AdfsGlobalWebContent[]

    This cmdlet generates a System.IdentityServer.Management.Resources.AdfsGlobalWebContent object that represents global web content. The object includes the following properties:

    Locale: System.Globalization.CultureInfo
    CompanyName: System.String
    HelpDeskLink: System.Uri
    HelpDeskLinkText: System.String
    HomeLink: System.Uri
    HomeLinkText: System.String
    PrivacyLink: System.Uri
    PrivacyLinkText: System.String
    SignInPageDescriptionText: System.String
    SignOutPageDescriptionText: System.String
    ErrorPageDescriptionText: System.String
    ErrorPageGenericErrorMessage: System.String
    ErrorPageAuthorizationErrorMessage: System.String
    ErrorPageDeviceAuthenticationErrorMessage: System.String
    ErrorPageSupportEmail: System.String
    ErrorPageSupportEmailText: System.String
    UpdatePasswordPageDescriptionText: System.String
    CertificatePageDescriptionText: System.String
    SignInPageAdditionalAuthenticationDescriptionText: System.String

Examples

Example 1: Get global web content for all locales

This command gets the global web content for all locales.

PS C:\> Get-AdfsGlobalWebContent

Example 2: Get the global web content for a locale

This command gets the global web content for the en-us locale. If you did not specify a locale when you modified properties of the global web content by using the Set-AdfsGlobalWebContent cmdlet, the cmdlet returns no additional information.

PS C:\> Get-AdfsGlobalWebContent -Locale en-us

Get-AdfsGlobalWebContent

Set-AdfsGlobalWebContent

Remove-AdfsGlobalWebContent