Skip to content

Latest commit

 

History

History
122 lines (83 loc) · 2.55 KB

Remove-PSWorkItemCategory.md

File metadata and controls

122 lines (83 loc) · 2.55 KB
external help file Module Name online version schema
PSWorkItem-help.xml
PSWorkItem
2.0.0

Remove-PSWorkItemCategory

SYNOPSIS

Remove a PSWorkItem category.

SYNTAX

Remove-PSWorkItemCategory [[-Category] <String>] [-Path <String>] [-WhatIf] [-Confirm]  [<CommonParameters>]

DESCRIPTION

If you make a mistake entering a category or want to remove one of the default PSWorkItem categories, use Remove-PSWorkItemCategory. If you are specifying an alternate database, specify the path first, then the category parameter, if you want auto-completion.

EXAMPLES

Example 1

PS C:\> Remove-PSWorkItemCategory Temp

PARAMETERS

-Category

Specify the category name. There should be tab-completion for this parameter. If you will be specifying an alternate database path, specify the path before using this parameter so that correct categories will be detected.

Type: String[]
Parameter Sets: (All)
Aliases: Name

Required: False
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the command.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Path

The path to the PSWorkItem SQLite database file. It should end in .db

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: $PSWorkItemPath
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the command runs. The command is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
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[]

OUTPUTS

None

NOTES

Learn more about PowerShell: http://jdhitsolutions.com/blog/essential-powershell-resources/

RELATED LINKS

Add-PSWorkItemCategory

Get-PSWorkItemCategory

Set-PSWorkItemCategory