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 |
Related Links
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기