Skip to content

Latest commit

 

History

History
103 lines (69 loc) · 1.95 KB

Get-PSProjectTask.md

File metadata and controls

103 lines (69 loc) · 1.95 KB
external help file Module Name online version schema
PSProjectStatus-help.xml
PSProjectStatus
2.0.0

Get-PSProjectTask

SYNOPSIS

List project tasks

SYNTAX

Get-PSProjectTask [[-Path] <String>] [-TaskID <Int32>] [<CommonParameters>]

DESCRIPTION

List defined tasks in the PSProject file. You will get a warning if no tasks are defined.

EXAMPLES

Example 1

PS C:\PSWorkItem> Get-PSProjectTask

   Name: PSWorkItem [C:\PSWorkItem]

    Show overdue value in table in red [1]
    Pester tests [2]
    Show tooltip help in TUI [3]
    Add option in TUI to filter table by days [4]

Display tasks. If you run this in the console of VSCode, you should get ANSI formatted output. The number in brackets is the TaskID.

Example 2

PS C:\PSWorkItem> Get-PSProjectTask -TaskID 2

   Name: PSWorkItem [C:\PSWorkItem]

    Pester tests [2]

Get a task by ID number.

PARAMETERS

-Path

Enter the parent path to the psproject.json file, e.g. c:\scripts\mymodule.

Type: String
Parameter Sets: (All)
Aliases: FullName

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

-TaskID

Get a task by its ID number

Type: Int32
Parameter Sets: (All)
Aliases: ID

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

psProjectTask

NOTES

RELATED LINKS

New-PSProjectTask

Remove-PSProjectTask