Export-AdfsWebTheme
Export-AdfsWebTheme
Exports a web theme to a folder.
Syntax
Parameter Set: IdentifierName
Export-AdfsWebTheme -DirectoryPath <String> -Name <String> [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: IdentifierObject
Export-AdfsWebTheme -DirectoryPath <String> -WebTheme <AdfsWebTheme> [-Confirm] [-WhatIf] [ <CommonParameters>]
Detailed 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).
Parameters
-DirectoryPath<String>
Specifies the path of a folder. The cmdlet exports the web theme to the folder that you specify.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-Name<String>
Specifies a name. The cmdlet exports the web theme that has the name that you specify.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByValue) |
Accept Wildcard Characters? |
false |
-WebTheme<AdfsWebTheme>
Specifies an AdfsWebTheme object. The cmdlet exports the theme that you specify. To obtain an AdfsWebTheme object, use the Get-AdfsWebTheme cmdlet.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByValue) |
Accept Wildcard Characters? |
false |
-Confirm
Prompts you for confirmation before running the cmdlet.
Required? |
false |
Position? |
named |
Default Value |
false |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? |
false |
Position? |
named |
Default Value |
false |
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.
Outputs
The output type is the type of the objects that the cmdlet emits.
Examples
Example 1: Export a web theme
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.
PS C:\> Export-AdfsWebTheme -Name "Theme01" -DirectoryPath "C:\WebTheme"