Export-AdfsWebTheme
Export-AdfsWebTheme
Exports a web theme to a folder.
Sintaxis
Parameter Set: IdentifierName
Export-AdfsWebTheme -DirectoryPath <String> -Name <String> [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: IdentifierObject
Export-AdfsWebTheme -DirectoryPath <String> -WebTheme <AdfsWebTheme> [-Confirm] [-WhatIf] [ <CommonParameters>]
Descripción detallada
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 Servicios de federación de Active Directory (AD FS).
Parámetros
-DirectoryPath<String>
Specifies the path of a folder. The cmdlet exports the web theme to the folder that you specify.
Alias |
ninguno |
¿Requerido? |
true |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-Name<String>
Specifies a name. The cmdlet exports the web theme that has the name that you specify.
Alias |
ninguno |
¿Requerido? |
true |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
True (ByValue) |
¿Aceptar caracteres comodín? |
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.
Alias |
ninguno |
¿Requerido? |
true |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
True (ByValue) |
¿Aceptar caracteres comodín? |
false |
-Confirm
Solicita confirmación antes de ejecutar el cmdlet.
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
falso |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-WhatIf
Muestra lo que sucedería si se ejecutara el cmdlet. El cmdlet no se ejecuta.
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
falso |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
<CommonParameters>
Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Entradas
El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.
Salidas
El tipo de resultado es el tipo de objetos que emite el cmdlet.
Ejemplos
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"