
You can get all of this without moving the files to plist as well, but in this example I am making an assumption that you will be importing these devices via plist and so you would be converting them anyway.
applicationDictionaries: great for pulling off what apps are where. configurationProfiles: useful if you are duplicating configuration profile information from devices into an mdm solution. provisioningProfiles: useful if you are duplicating provisioning profile information into an mdm solution. deviceIdentifier (also the basename of the file)Īnd then there are 3 arrays that wouldn’t likely look great in a csv, but could easily be brought out automatically:. You could then redirect this output into a csv file, perhaps grabbing other information such as: For example, to pull the information from the two fields in iPhone Configuration Utility that are user editable, ownerName and ownerEmail as well as the serial number of a device with a deviceIdentifier of 26c2d1b2a68c7862bd4c6bfbe708517964733cf3:ĭefaults read ~/Library/MobileDevice/Devices/26c2d1b2a68c7862bd4c6bfbe708517964733cf3 ownerEmail defaults read ~/Library/MobileDevice/Devices/26c2d1b2a68c7862bd4c6bfbe708517964733cf3 ownerName Once files are converted then you can also automate crawling through them to obtain information. deviceinfo`.plist done įor x in ~/Library/MobileDevice/Devices/*.plist do mv $x `basename $x. Or to convert the device information to property lists:įor x in ~/Library/MobileDevice/Devices/*.deviceinfo do mv $x `basename $x. mobileconfig`.plist done įor x in ~/Library/MobileDevice/Configuration Profiles/*.plist do mv $x `basename $x. mobileconfig files into plist:įor x in ~/Library/MobileDevice/Configuration Profiles/*.mobileconfig do mv $x `basename $x. Given that many people will have 100s or 1000s of devices, this is something that most will want to automate. deviceinfo files are property lists with different extensions, if you want to turn them into property lists, simply rename them.
deviceinfo files you’ll notice that they begin with the familiar: Many of these places can import property lists. Now that Profile Manager is built into Mac OS X Server in Lion, and with the number of 3rd party MDM solutions on the market, many users of iPhone Configuration Utility are looking to extract information from it and move it into other places. There, we looked at the iPhone Configuration Utility. In a previous post I looked at automating iPhone and iPad deployment.