Query SQL database for deleted computers and who deleted them

It is possible to query the MSSQL db to see which computers are deleted from the console and to undelete them. This is only if they haven’t been removed from the database using the Audit Trail Cleaner, but that is something you would have to specifically run.

I’m not certain if it is possible to tell when they were deleted, but I think it is. I’m even less certain if it is possible to tell who deleted them.

Related: