This content has been marked as final. Show 6 replies
sorry no - there's no API and no current plans to write any reports for deleted items for the EEM5 codebase. If you need it you can always talk to your account manager about raising a feature request.
No worries, thanks very much for your reply. I'll just restore / report / re-delete in the meantime! happy
I guess you know there are api commands to restore machines and users - just restore them to a group which is not used for anything else, then you can run your report over them and then delete them again.
Hey Simon, I was going through and trying to clean up Deleted Machines tonight... I restored to a group I wasn't using, ran GetLastCheckinDate, and then "Permanently Deleted" the machines that hadn't checked in for a year (i.e. highlight machine names in the group, right-click > Delete, tic the "Permanently Delete" box).
All was going well until I noticed that I was not reclaiming the licenses that I was perma-deleting. In fact, machines that I did not move back to Deleted Machines somehow have counted against my license count. I've verified and re-verified and can't figure this out.
I did try a group scan - picked up nothing there either.
I'm running rev 5420 (and can't upgrade just yet) - any ideas or think it's best for me to open a case with Support? Is there a database cleanup / remediation tool that might be available that I've overlooked?
I really need to learn to complete all of my troubleshooting before posting here. :D
So before I gave up for the night, I ran toastcache - that freed up my licenses for me again. I'd be interested to know why this worked whereas cycling the database server service did not work... but am quite happy that it worked!
interesting - it would seem to be a cache issue with the API. (restarting the server does not clear the cache).
what version of the API are you using? It might be something already fixed in later releases.