Redigera

Dela via


Get-AdfsWebTheme

Gets web themes.

Syntax

Get-AdfsWebTheme
   [-Name <String>]
   [<CommonParameters>]

Description

The Get-AdfsWebTheme cmdlet gets AdfsWebTheme objects. Specify a web theme by name. If you do not specify a name, the cmdlet gets all the AdfsWebTheme objects.

Examples

Example 1: Get all web themes

PS C:\> Get-AdfsWebTheme

Name                    : Default
IsBuiltinTheme          : True
StyleSheet              : {[, System.Byte[]]}
RTLStyleSheet           : {42, 32, 123, 13...}
Logo                    : {[, System.Byte[]]}
Illustration            : {[, System.Byte[]]}
AdditionalFileResources : {[/adfs/portal/script/onload.js, System.Byte[]], [/adfs/portal/images/idp/localsts.png, System.Byte[]], [/adfs/portal/images/idp/idp.png,
System.Byte[]], [/adfs/portal/images/idp/otherorganizations.png, System.Byte[]]}

This command gets all the available web themes in Active Directory Federation Services (AD FS).

Example 2: Get a named web theme

PS C:\> Get-AdfsWebTheme -Name "Theme01"
Name                    : Theme01
IsBuiltinTheme          : False
StyleSheet              : {[, System.Byte[]]}
RTLStyleSheet           : {42, 32, 123, 13...}
Logo                    : {[, System.Byte[]]}
Illustration            : {[, System.Byte[]]}
AdditionalFileResources : {[/adfs/portal/script/onload.js, System.Byte[]], [/adfs/portal/images/idp/localsts.png, System.Byte[]], [/adfs/portal/images/idp/idp.png,
System.Byte[]], [/adfs/portal/images/idp/otherorganizations.png, System.Byte[]]}

This command gets the theme named Theme01.

Parameters

-Name

Specifies a name. The cmdlet gets the web theme that has the name that you specify.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

String

Outputs

Microsoft.IdentityServer.Management.Resources.AdfsWebTheme;Microsoft.IdentityServer.Management.Resources.AdfsWebTheme[]

This cmdlet generates a web customization object, System.IdentityServer.Management.Resources.AdfsWebTheme, or an array of these objects. This object includes the following properties:

  • Name: System.String
  • IsBuiltinTheme: System.Boolean
  • StyleSheet: IDictionary<CultureInfo, byte[]>
  • RTLStyleSheet: byte[]
  • Logo: IDictionary<CultureInfo, byte[]>
  • Illustration: IDictionary<CultureInfo, byte[]>
  • AdditionalFileResources: IDictionary<string, byte[]>