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).
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.
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
-DirectoryPath
Specifies the path of a folder.
The cmdlet exports the web theme to the folder that you specify.
Parameter properties
Type:
String
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
(All)
Position:
Named
Mandatory:
True
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-Name
Specifies a name.
The cmdlet exports the web theme that has the name that you specify.
Parameter properties
Type:
String
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
IdentifierName
Position:
Named
Mandatory:
True
Value from pipeline:
True
Value from pipeline by property name:
False
Value from remaining arguments:
False
-RelyingPartyName
Specifies the name of the relying party.
Parameter properties
Type:
String
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
RelyingPartyName
Position:
Named
Mandatory:
True
Value from pipeline:
True
Value from pipeline by property name:
False
Value from remaining arguments:
False
-WebTheme
Specifies an AdfsWebTheme object.
The cmdlet exports the theme that you specify.
To obtain an AdfsWebTheme object, use the Get-AdfsWebTheme cmdlet.
Parameter properties
Type:
WebThemeBase
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
IdentifierObject
Position:
Named
Mandatory:
True
Value from pipeline:
True
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.