I'm interested in this also.
The way I currently handle this is I export all machines in Heat to a text file, and use Powershell to discover which of the machines in Heat are no longer in Active Directory.
I then take the list from Powershell, and import it into a "Not in Active Directory" group in Heat, then delete machines that show offline.
The output of the Powershell script gives me "pcname,". The comma is important as it makes it so I can copy/paste the list directly into the group import page.
Interesting idea. I do something similar. I have a script that can remove machines in bulk from Active Directory, and it also gives me a comma delimited list to dump into a group in HEAT to remove that way. That definitely removes some of the pain of removing things individually, but it'd still be nice if the one script would be able to handle both tasks somehow.
I agree. The issue we have being such a large environment is that many users add/remove machines from AD.
Getting them to remove machines from Heat would just be another task, and ask for more error in the process.
For sure. I've seen other threads (Powershell Script ) where the ability to do some of this is mentioned but no real details or resources on how to actually do it. Here's to hoping Ivanti/HEAT sees the need and thinks to do a little something about it. If we do come up with someone on our end I hope to share it with the community.
I think if anything it would have to remove the machines directly from your sql server…
Tinkering with it from that angle would need to be a Heat approved solution, so other related records are also removed.