Skip to main content
Question

Exporting Mobile Config file from JSS (PERL Issues)

  • June 3, 2019
  • 1 reply
  • 3 views

Forum|alt.badge.img+4

I have currently managed to export the XML from the API, but I am trying to pull the Mobile Configuration out of the Payload within the XML.

I am struggling to execute a Perl Command to do so, and cannot for the life of me work out why this is failing:

perl -MHTML::Entities -pe 'decode_entities($_);'

The error it outputs is:

Can't locate HTML/Entities.pm in @INC

Now I don't have much experience using PERL, and would appreciate any guidance on how other people have managed to pull out the Mobile Config payload from the XML. The reason I am not using the GUI to export is due to the work I am doing, being experimentation of an Automated Version Control of JAMF Environments for the key parts of our MacOS Build.

1 reply

Forum|alt.badge.img+4
  • Author
  • New Contributor
  • June 3, 2019

Just in-case it makes any difference, I am using the Cloud JAMF Product