Get-AdfsWebTheme

Get-AdfsWebTheme

Gets web themes.

Syntax

Parameter Set: Default
Get-AdfsWebTheme [-Name <String> ] [ <CommonParameters>]

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

Parameters

-Name<String>

Specifies a name. The cmdlet gets the web theme that has the name 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.

  • System.String

Outputs

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

  • 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[]>

Examples

Example 1: Get all web themes

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

PS C:\> Get-AdfsWebTheme

Example 2: Get a named web theme

This command gets the theme named Theme01.

PS C:\> Get-AdfsWebTheme -Name "Theme01"

Export-AdfsWebTheme

New-AdfsWebTheme

Remove-AdfsWebTheme

Set-AdfsWebTheme