I'm trying to utilize the SDK function for DeleteComputerByIPName.
I am calling the web service located here: http://<coreserver>/MBSDKService/MsgSDK.asmx?op=DeleteComputerByIPName
The problem that I am coming up against is that the return codes don't seem to make sense. When I pass it a machine name, it sometimes will return a 1 or a 2 which is fine. But the ones that com eback with a 2 are actually valid machines in the database. I have tried the FQDN the short name, the IP address and can't seem to get rid of them.
It does seem to have something to do with name resolution. If the name resolves fine via DNS it gets deleted. If not, then I get a 2. Unfortunately many of these machines have been "gone" for a while and are no longer in AD or DNS.
Does anyone have any experience with this particular function?