Git Product home page Git Product logo

jamfdeptuploader's Introduction

JamfDeptUploader

Uploads departments through the Jamf API

To start it, you just need to send the script name and a filename. The file should be a plain text file list of departments, each on its own line. So, like this: jamfDeptUploader departments.txt. It'll prompt for other info it needs.

Starting it with no filenames shows more detailed info:

Usage

`jamfDeptUploader.sh [-v] [-s <server name>] [-u <client id>] [-p <client secret>] <file name>`

Uploads a list of departments to a Jamf Pro server through its API.

Uses API keys which can be set up through the Jamf Pro server (curently under Settings -> System -> API Roles and Clients). The role assigned to the API client ID must have access to create and read Departments or else the Jamf Pro server will return an error. If the server name and/or credentials are not specified, the script will prompt for them.

Options

`-s <server name>`

    Specify the server name (URL) of the Jamf Pro server

`-u <client id>`

    Specify the client ID for the Jamf Pro server API

`-p <client secret>`

    Specify the client secret for the Jamf Pro server API

`-v`

    Sets verbose (debug) mode

jamfdeptuploader's People

Contributors

jchutc0 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.