The CMDB task Update Network Resource Location can be used to automatically assign locations to computers based on the computer's subnet. This article describes how to do this. Note: Locations must already exist in CMDB for these instructions to work. The article HOWTO85119, found below in the Related Articles section, describes how to create locations.
Usage Note: The Update Network Resource Location task only assigns locations to computers. It does not update Organizational Views and Groups, which is controlled by the Update Organizational Hierarchy task. This task should be ran at least 30 minutes after the Update Network Resource Location task is ran to ensure that Organizational Views and Groups are updated.
Part 1: Create and Configure Subnets
Part 2: Create and Configure Locations
Part 3: Configure and Run the Update Network Resource Location Task
Note: This task is not automatically scheduled to run but must be changed to do so if so desired.
Troubleshooting and Usage Tips
The "Update Network Resource Location" task is not assigning computers to the desired location
CMDB task Update Network Resource Location is assigning the wrong locations to computers
How to create locations and automatically assign them to computers or users
CMDB task "Update Organizational Hierarchy" fails to add new or updated organizational groups