Recently my company replaced hundreds of computers. I have a text file with list of old clients machine serial numbers.
I am unable to remove the clients based on hostname is because the replaced machines used back the same hostname.
I am aware that BESComputerRemover tool is able to accept text file with list of computer name. Is there a quick way to remove the clients basing on serial number?
You are saying that you have machines that have been replaced, so the computer name is the same, but the serial numbers are different, but you DO NOT want to delete these records.
You DO want to delete computers which have the same hardware serial number, but may or may not have the same computer name. Is this correct?
Or, do you only want to delete computers from the console if they have BOTH the same serial number and computer name?
There are built in analyses that retrieve the serial number of the hardware, but I have also made one that works on both Windows & *nix systems that is worth looking at here:
You are then going to need session relevance to detect when the correct conditions are met to return the computer IDs that have the identical serial numbers. You then may need to do some further analysis between the duplicates to figure out which one to delete, but generally the older one has a lower computer ID, while the newer one has a higher computer ID. Last report time is also useful to look at.