Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Export-AdfsWebTheme

Brian Lich|Last Updated: 3/8/2017

SYNOPSIS

Exports a web theme to a folder.

SYNTAX

IdentifierName

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

RelyingPartyName

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

IdentifierObject

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
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: 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
Parameter Sets: (All)
Aliases: 

Required: True
Position: Named
Default value: None
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
Parameter Sets: IdentifierName
Aliases: 

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-RelyingPartyName

Specifies the name of the relying party.

Type: String
Parameter Sets: RelyingPartyName
Aliases: 

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
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
Parameter Sets: IdentifierObject
Aliases: 

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-WhatIf

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

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

Get-AdfsWebTheme

New-AdfsWebTheme

Remove-AdfsWebTheme

Set-AdfsWebTheme

© 2017 Microsoft