external help file | Module Name | online version | schema |
---|---|---|---|
PSProjectStatus-help.xml |
PSProjectStatus |
2.0.0 |
List project tasks
Get-PSProjectTask [[-Path] <String>] [-TaskID <Int32>] [<CommonParameters>]
List defined tasks in the PSProject file. You will get a warning if no tasks are defined.
PS C:\Scripts\PSWorkItem> Get-PSProjectTask
Name: PSWorkItem [C:\Scripts\PSWorkItem]
● Pester tests [1]
● add message localization [2]
● fix PDF image location [3]
Display tasks. If you run this in the console of VSCode, you should get ANSI formatted output. The number in brackets is the TaskID.
PS C:\PSWorkItem> Get-PSProjectTask -TaskID 2
Name: PSWorkItem [C:\Scripts\PSWorkItem]
● add message localization [2]
Get a task by ID number.
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
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
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.