Get-MSTasks
Get groups of Tasks. The results can be edited and fed back into Update-MSTasks to apply bulk updates
Syntax
Get-MSTasks -TaskIds (Array) [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]
Get-MSTasks -All [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]
Get-MSTasks -My [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]
Get-MSTasks -Module (String) [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]
Get-MSTasks -FilterName (String) -FilterValue (String) [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]
Get-MSTasks -ProcessId (Int32) [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]
Get-MSTasks -ProcessName (String) [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]
Get-MSTasks -SubProcessId (Int32) [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]
Get-MSTasks -SubProcessName (String) [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]
Get-MSTasks -Archived [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]
Get-MSTasks -Locked [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]
Get-MSTasks -Deleted [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]
Get-MSTasks -DropdownValue (String) -Dropdown (String) [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]
Get-MSTasks -TeamMemberName (String) -TeamMemberType (String) [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]
Examples
## Get a list of known Tasks by their Ids
Get-MSTasks -Ids @(1000,1001,1002)
## Get a list of Tasks in a Blueprint
Get-MSTasks -BlueprintPath "Departments\Operations\Purchasing"
## Get a list of Tasks in the 'Closed' Process (In the ManagementStudio UI, Tasks 'Process' is displayed as 'Status')
Get-MSTasks -ProcessName "Closed"
## Get a list of Locked, Archived, or Deleted Tasks
Get-MSTasks -Locked
Get-MSTasks -Archived
Get-MSTasks -Deleted
## Get a count of ALL Tasks in database
(Get-MSTasks -All).Count