I am trying to modify below script\SQL query to run with NPM 11.5, since "Discovarylogs " table is missing in NPM 11.5, is there a way to run this script ?
$Result = Get-SwisData $swis "SELECT Result, ResultDescription, ErrorMessage, BatchID FROM Orion.DiscoveryLogs WHERE ProfileID = @profileId" @{profileId = $DiscoveryProfileID}