external help file | Module Name | online version | schema |
---|---|---|---|
MyTasks-help.xml |
MyTasks |
2.0.0 |
Display all active tasks with color highlights.
Show-MyTask [-DaysDue <Int32>] [<CommonParameters>]
Show-MyTask [-All] [<CommonParameters>]
Show-MyTask [-Category <String>] [<CommonParameters>]
This command is very similar to Get-MyTask in terms of what it displays. However, this version writes to the console and uses Write-Host to colorize critical tasks. Those that are due in the next 24 hours will be displayed in yellow. Those that are overdue will be displayed in Red. If you use the -All parameter, any completed tasks will be displayed in Green.
PS C:\> Show-MyTask
You will get a colorized output of Get-MyTask for tasks due in the next 30 days.
PS C:\> Show-MyTask -category Work
You will get a colorized output of Get-MyTask for all items in the Work category.
Display all tasks including those that are completed.
Type: SwitchParameter
Parameter Sets: all
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Display all tasks that belong to the specified category.
Type: String
Parameter Sets: Category
Aliases:
Accepted values: your defined categories
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Get tasks due in this number of days. This is the default behavior.
Type: Int32
Parameter Sets: Days
Aliases:
Required: False
Position: Named
Default value: 30
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 (http://go.microsoft.com/fwlink/?LinkID=113216).
Learn more about PowerShell: http://jdhitsolutions.com/blog/essential-powershell-resources/