Skip to main content
Jamf Nation, hosted by Jamf, is the largest Apple IT management community in the world. Dialog with your fellow IT professionals, gain insight about Apple device deployments, share best practices and bounce ideas off each other. Join the conversation.

Copy Device Hostname to Device's Location "Room" field.

Synopsis

Executing this script requires a username with access to the JSS API. Users can be given access by going to Settings->Accounts->Edit Account->API Privileges tab and granting permissions.

Before executing, update the script to include the correct JSS API username, JSS API password, and the JSS URL (without the trailing slash)

Description

This script copies an iOS device's hostname from the JSS and submits it into the device's inventory record under Location->Room. Organizations utilizing an Asset Tag can set the hostname of the device to the asset tag, then copy the hostname to the Location field for future searches, reporting, etc.

Download

Preview

Generating Preview...

498 Downloads
Uploaded: 8/6/12 at 1:17 PM by john.miller
Product: Mobile Device Inventory Updater