Created
November 30, 2016 16:45
-
-
Save homebysix/03fad0aa57a7f7bc48a4345fdf57b33f to your computer and use it in GitHub Desktop.
list_computer_groups.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import jss | |
# Connect to the JSS. (Requires python-jss to be configured.) | |
jss_prefs = jss.JSSPrefs() | |
j = jss.JSS(jss_prefs) | |
# Print computer groups. | |
print j.ComputerGroup() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment