After last week, updated version of the script Add Applications, and yesterday updated version the script Add Actions, today I provide the updated version of Add Device Policy.
Note: Limitation is for Enrollment Profile if you do not use the Default One: Global, in fact even if it’s possible to read it, it seems not possible to “write” it, I will check that point to be sure if it’s possible or not. For now, if you do not use Global as Enrollment Profile, you will need to change it after using this script.
Script can be downloaded here