An easy way to identify the workflows running on your agent(s).
$InstanceInfo = Get-SCOMRunningWorkflows -AgentName 'db01.contoso.com'
$InstanceInfo | Get-Member
$Instance = $InstanceInfo | Out-GridView -PassThru
Hopefully by now you can start to see the usefulness of this function. It quickly becomes clear which instances are running the most workflows and you can see detailed info about which workflows are running.
$Instance.Workflows | Out-GridView
If you want to get fancy, you can leverage Show-Object (Lee Holmes) to explore your workflows, even easier!
Show-Object $InstanceInfo
One Reply on “SCOM Get-SCOMRunningWorkflows Tool”