How can I gethistory of items with process IDs

niteesh 1 Reputation point
2019-12-13T09:11:10.42+00:00

How can I find history of items with process IDs

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,952 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Marilee Turscak-MSFT 35,461 Reputation points Microsoft Employee
    2019-12-13T23:06:26.347+00:00

    If I'm understanding correctly, you can use Get-Process:

    https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/get-process?view=powershell-6

    For specific apps you can do something like:

    $procid=get-process appname |select -expand id  
    

    This is more of a powershell question than an Azure question, though.

    If you want to check for an Azure DevOps work items you can use:

    GET https://dev.azure.com/{organization}/_apis/work/processes/{processId}/workitemtypes?api-version=5.1-preview.2

    https://learn.microsoft.com/en-us/rest/api/azure/devops/processes/work%20item%20types/list?view=azure-devops-rest-5.1

    0 comments No comments