Get-RDMTask
Synopsis
Retrieve the list of tasks of the current workspace.
Syntax
__AllParameterSets
Get-RDMTask [-CaseSensitive] [-CreationDateEnd <datetime>] [-CreationDateStart <datetime>]
[-Due <DateFilter>] [-DueDateEnd <datetime>] [-DueDateStart <datetime>] [-Entry <Object>]
[-LiteralName <string[]>] [-Name <string[]>] [-Status <TodoStatus[]>] [-User <Object[]>]
[-ForcePromptAnswer <DialogResult[]>] [<CommonParameters>]Description
Allows to search tasks with differents parameters on the user's main and private vaults. This feature is only available for the following workspaces: Devolutions Server, Azure SQL, SQL Server, and SQLite. If the workspace does not support users, the parameter User will be simply ignored. If a virtual folder is involved, the user must have the add and edit rights to obtain the tasks.
Examples
Example 1
PS C:\> $tasks = Get-RDMTask -Entry AnEntry -CaseSensitiveRetrieves the tasks of the current workspace associated with the entry AnEntry (case sensitive) and stores it in the variable $tasks.
Example 2
Obtain all the tasks of the current workspace that are due Today and are still active.
Example 3
Obtain all the tasks of the current workspace that are due Today and are still active.
Example 4
Unassign all the tasks assigned the user AUser.
Parameters
-CaseSensitive
Case sensitive search when searching the name of the entry, task or user.
-CreationDateEnd
The upper bound for the task's creation date.
-CreationDateStart
The lower bound for the task's creation date.
-Due
Filter the tasks based on their due date.
-DueDateEnd
The upper bound for a custom due date.
-DueDateStart
The lower bound for a custom due date.
-Entry
Entry the task is assigned to. It can be specified by ID, by name or by PSConnection. Entries in the private vault are accessible. For virtual folders, the add and edit rights are required to get the tasks.
-ForcePromptAnswer
Switch to use with caution. It will automatically answer prompt asking yes/no, yes/no/cancel, or ok/cancel questions. In case of multiple prompts, multiple values can be passed to this parameter. Here are the accepted values:
Yes: Accept the prompt. Cover the OK and Automatic value.
No: Refuse the yes/no/cancel prompt. "Cancel" is the fallback option if there is no "No" option.
Cancel: Cancel the yes/no/cancel prompt. "No" is the fallback option if there is no "Cancel" option.
-LiteralName
Name of the task. No characters are interpreted as wildcards.
-Name
Name of the task.
-Status
Filter the tasks based on the specified status. Multiple status are equivalent to an OR condition.
-User
Task assigned to those user. The users can be specified with their name, their email address, their ID or their PSUserInfo.
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Notes
For more information, type "Get-Help Get-RDMTask -detailed". For technical information, type "Get-Help Get-RDMTask -full".
Last updated
Was this helpful?