Get-AdfsGlobalWebContent
Get-AdfsGlobalWebContent
Gets global web content objects.
Syntaxe
Parameter Set: IdentifierName
Get-AdfsGlobalWebContent [-Locale <CultureInfo[]> ] [ <CommonParameters>]
Description détaillée
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.
Paramètres
-Locale<CultureInfo[]>
Specifies an array of locales. The cmdlet gets the global web content associated with the locales that you specify.
Alias |
none |
Obligatoire ? |
false |
Position ? |
named |
Valeur par défaut |
none |
Accepter l’entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
false |
<CommonParameters>
Cette applet de commande prend en charge les paramètres courants : -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer et -OutVariable. Pour plus d’informations, consultez about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Entrées
Le type d’entrée correspond au type des objets que vous pouvez transmettre à l’applet de commande.
Sorties
Le type de sortie est le type des objets émis par l’applet de commande.
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
Exemples
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