Query to undelete Computer when computer_id is known

I have a server with issues that created 2 new computer ids in the last few days. Somewhere along the way, the original computer record/id was deleted. I know the computer id, and would like to flip the isdeleted flag back to 0 so I can see it in console and recover the legacy action history from the original record.

Does anyone have that query handy?

Have a look at Undelete All Deleted Computers

The first post in the thread shows the SQL statement for a single computer (where the computer ID is known)

That worked Jason, thanks.

For reference: UPDATE COMPUTERS set IsDeleted = 0 where ComputerID = xxx