Inventory Management
We are trying to create a dynamic collection to hold computers that are not currently deployed (recycled, being worked on, held, etc.). The way that we are trying to do this is by detecting in pdq when a computer is deleted from the active directory. Our problem is that when the computer is deleted from the active directory none of the fields containing information about the active directory are reset in pdq. Is there any way to make it update so that when a computer is deleted from active directory the field in pdq inventory for say AD Path is updated from the active directory path to nothing so that we can use this to filter for our collection.
Comments
We are trying to do the same thing but, are unable to determine which computers still have an active account in the Active Directory and which have been deleted from the Active Directory. We still need to track or have inventory of having these machines.
To summarize, we need:
Inventory of all machines in AD
Inventory of all machines once in AD but no longer found in AD
Inventory of all machines once in AD but now sent to recycling (we understand that this may require a manually entered field)
Here is what we are doing:
Syncing Active Directory using "Import Only (no delete)"
All computers having once been in those groups remain in the inventory (which is what we want) but, we are unable to determine using the currently scan configuration which computer are still "active" in the AD and which have been removed.
The only option we have come up with is creating an OU in our AD called "Not Deployed" and "Recycled". Then we put all of the decommissioned computers in that group. Unfortunately, if a computer has been off the network for 180 days, the computer account is automatically deleted from the Active Directory. This is a company wide policy of AD management.