The Set-AdfsGlobalWebContent cmdlet sets properties for a global web content object.
Specify a global web object by using a locale, or use the Get-AdfsGlobalWebContent cmdlet to obtain a web object.
Examples
Example 1: Set the company name for the global web content
This command sets the company name of the global web content for the invariant locale.
If there is no logo, the sign-in page displays the company name Contoso.
Example 2: Set the text and links for the sign-in pages
This command specifies the text to display in the sign-in pages for AD FS for the en-us locale.
Example 3: Set the text and links for the certificate page
PS C:\> Set-AdfsGlobalWebContent -Locale "en-us" -CompanyName "Contoso" -HomeLink "https://homelink" -HomeLinkText "Home" -PrivacyLink "https://privaylink" -PrivacyLinkText "Privacy statement" -SignInPageDescriptionText "<p>Sign-in to Contoso requires device registration. Click <A href='https://fs1.contoso.com/deviceregistration/'>here</A> for more information.</p>" -SignOutPageDescriptionText "Sign out here" -ErrorPageGenericErrorMessage "An error occurred." -ErrorPageSupportEmail "support@contoso.com" -UpdatePasswordPageDescriptionText "Update password here" -CertificatePageDescriptionText "Sign in with your Smartcard"
This command specifies the text and links to display when an application prompts a user prompted for a certificate.
Parameters
-CertificatePageDescriptionText
Specifies the text on the certificate page.
Active Directory Federation Services (AD FS) displays the text that you specify when it prompts the user for a certificate.
In earlier versions of AD FS, the user sees a blank page when AD FS prompts the user for a certificate.
Parameter properties
Type:
String
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
(All)
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-CompanyName
Specifies the company name.
AD FS displays the company name in the sign-in pages when you have not set a logo on the active web theme.
Parameter properties
Type:
String
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
(All)
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-Confirm
Prompts you for confirmation before running the cmdlet.
Parameter properties
Type:
SwitchParameter
Default value:
False
Supports wildcards:
False
DontShow:
False
Aliases:
cf
Parameter sets
(All)
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-ErrorPageAuthorizationErrorMessage
Specifies an error message to display when a user encounters any authorization errors that occur for a token request.
This string can be an HTML fragment.
You can override this message for an application by using the Set-AdfsRelyingPartyWebContent cmdlet.
Parameter properties
Type:
String
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
(All)
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-ErrorPageDescriptionText
Specifies an error message to display when a user encounters any generic errors that occur for a token request.
This string can be an HTML fragment.
You can override this message for an application by using the Set-AdfsRelyingPartyWebContent cmdlet.
Parameter properties
Type:
String
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
(All)
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-ErrorPageDeviceAuthenticationErrorMessage
Specifies an error message to display for any device authentication errors that occur for a token request.
Device authentication errors occur when the user presents an expired user@device certificate to AD FS, a certificate is not found in AD DS, or a certificate is disabled in AD DS.
This string can be an HTML fragment.
You can override this message for an application by using the Set-AdfsRelyingPartyWebContent cmdlet.
Parameter properties
Type:
String
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
(All)
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-ErrorPageGenericErrorMessage
Specifies an error message to display for any generic errors that occur for a token request.
This string can be an HTML fragment.
You can override this message for an application by using the Set-AdfsRelyingPartyWebContent cmdlet.
Parameter properties
Type:
String
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
(All)
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-ErrorPageSupportEmail
Specifies the support email address on the error page.
Parameter properties
Type:
String
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
(All)
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-HelpDeskLink
Specifies the help desk link that is shown on the logon pages for AD FS.
Parameter properties
Type:
Uri
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
(All)
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-HelpDeskLinkText
Specifies the help desk link text that is shown on the logon pages for AD FS.
Parameter properties
Type:
String
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
(All)
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-HomeLink
Specifies the Home link that is shown on the logon pages for AD FS.
Parameter properties
Type:
Uri
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
(All)
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-HomeLinkText
Specifies the Home link text that is shown on the logon pages for AD FS.
Specifies the description to display when an application prompts a user for additional authentication.
The sign-in page can also display a description that is provided by the additional authentication provider.
Parameter properties
Type:
String
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
(All)
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-SignInPageDescriptionText
Specifies the description to display when a user signs in to applications by using AD FS.
When you use Integrated Windows Authentication in the intranet, users do not see this page.
Parameter properties
Type:
String
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
(All)
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-SignOutPageDescriptionText
Specifies the description to display when a user signs out of applications.
Parameter properties
Type:
String
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
(All)
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-TargetWebContent
Specifies an AdfsGlobalWebContent object.
The cmdlet modifies content for the object that you specify.
To obtain a AdfsGlobalWebContent object, use the Get-AdfsGlobalWebContent cmdlet.
Parameter properties
Type:
AdfsGlobalWebContent
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
IdentifierObject
Position:
0
Mandatory:
True
Value from pipeline:
True
Value from pipeline by property name:
False
Value from remaining arguments:
False
-UpdatePasswordPageDescriptionText
Specifies the description to display in the update password page when users change their passwords.
Parameter properties
Type:
String
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
(All)
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-WhatIf
Shows what would happen if the cmdlet runs.
The cmdlet is not run.
Parameter properties
Type:
SwitchParameter
Default value:
False
Supports wildcards:
False
DontShow:
False
Aliases:
wi
Parameter sets
(All)
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters.
This cmdlet generates a System.IdentityServer.Management.Resources.AdfsGlobalWebContent object that represents global web content.
The object includes the following properties: