Export-AdfsWebTheme

Exports a web theme to a folder.

Syntax

Export-AdfsWebTheme
      -Name <String>
      -DirectoryPath <String>
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Export-AdfsWebTheme
      -RelyingPartyName <String>
      -DirectoryPath <String>
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Export-AdfsWebTheme
      -WebTheme <WebThemeBase>
      -DirectoryPath <String>
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

The Export-AdfsWebTheme cmdlet exports a web theme object to a folder. The cmdlet creates necessary folders that correspond to the web theme settings. Use this cmdlet to create web themes based on existing themes, such as the default theme available with Active Directory Federation Services (AD FS).

Examples

Example 1: Export a web theme

PS C:\> Export-AdfsWebTheme -Name "Theme01" -DirectoryPath "C:\WebTheme"

This command exports a web theme named Theme01 to the folder C:\WebTheme. The command places all files, including cascading style sheets, JavaScript files, and images, in folders in the specified folder.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DirectoryPath

Specifies the path of a folder. The cmdlet exports the web theme to the folder that you specify.

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

-Name

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

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

-RelyingPartyName

Specifies the name of the relying party.

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

-WebTheme

Specifies an AdfsWebTheme object. The cmdlet exports the theme that you specify. To obtain an AdfsWebTheme object, use the Get-AdfsWebTheme cmdlet.

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

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False