description | external help file | Module Name | ms.date | online version | schema | title |
---|---|---|---|---|---|---|
Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell. |
Microsoft.IdentityServer.Management.dll-Help.xml |
ADFS |
12/20/2016 |
2.0.0 |
Remove-AdfsWebTheme |
Removes a web theme.
Remove-AdfsWebTheme [-TargetName] <String> [-WhatIf] [-Confirm] [<CommonParameters>]
Remove-AdfsWebTheme [-TargetWebTheme] <AdfsWebTheme> [-WhatIf] [-Confirm] [<CommonParameters>]
The Remove-AdfsWebTheme cmdlet removes an AdfsWebTheme object. Specify a web theme by name or by using the Get-AdfsWebTheme cmdlet.
PS C:\> Remove-AdfsWebTheme -TargetName "Theme01"
This command removes the web theme named Theme01.
PS C:\> Get-AdfsWebTheme -Name "Theme02" | Remove-AdfsWebTheme
This command uses the Get-AdfsWebTheme cmdlet to get the web theme named Theme02, and then passes it to the current cmdlet by using the pipeline operator. The cmdlet removes that web theme.
Specifies a name. The cmdlet removes the theme that you specify by name.
Type: String
Parameter Sets: IdentifierName
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Specifies an AdfsWebTheme object. The cmdlet removes the theme that you specify. To obtain an AdfsWebTheme object, use the Get-AdfsWebTheme cmdlet.
Type: AdfsWebTheme
Parameter Sets: IdentifierObject
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
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
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
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.