Skip to content

Latest commit

 

History

History
135 lines (100 loc) · 3.12 KB

Remove-AdfsWebTheme.md

File metadata and controls

135 lines (100 loc) · 3.12 KB
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

Remove-AdfsWebTheme

SYNOPSIS

Removes a web theme.

SYNTAX

IdentifierName

Remove-AdfsWebTheme [-TargetName] <String> [-WhatIf] [-Confirm] [<CommonParameters>]

IdentifierObject

Remove-AdfsWebTheme [-TargetWebTheme] <AdfsWebTheme> [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

The Remove-AdfsWebTheme cmdlet removes an AdfsWebTheme object. Specify a web theme by name or by using the Get-AdfsWebTheme cmdlet.

EXAMPLES

Example 1: Remove a named web theme

PS C:\> Remove-AdfsWebTheme -TargetName "Theme01"

This command removes the web theme named Theme01.

Example 2: Remove a web theme by specifying a web theme object

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.

PARAMETERS

-TargetName

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

-TargetWebTheme

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

-Confirm

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

-WhatIf

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

System.String;Microsoft.IdentityServer.Management.Resources.AdfsWebTheme

OUTPUTS

NOTES

RELATED LINKS

Export-AdfsWebTheme

Get-AdfsWebTheme

New-AdfsWebTheme

Set-AdfsWebTheme