Get-MSTasksForModuleItem
Get Tasks attached to Module Items (Applications, UserMigrations, Devices, etc)
Syntax
Get-MSTasksForModuleItem -Module (String) -InstanceId (Int32)
Examples
## Get a count of tasks attached to Application Id 3079
(Get-MSTasksForModuleItem -Module Applications -InstanceId 3079).Count