Share via


Return discoveries running on specific interval

Got a new one today.  HTH.

Foreach ($discovery in (get-discovery | foreach-object {$_.DataSource}))
    {
    if ($discovery.Configuration -match "IntervalSeconds>seconds<")
        {$discovery.get_ParentElement().DisplayName} 
    }

main menu