Zack T
407d6ac244
v1.3.1 = Added option to delete Computer Objects
...
+ Added option to delete Computer Objects
2018-07-02 16:21:10 -07:00
Zack T
27816e9a68
v1.3 = Added additional functionality
...
+ Added additional functionality, including: Policies and Computer Groups
+ Renamed Script
2018-06-27 23:01:30 -07:00
Zack T
c26abba681
v1.3 = Added additional functionality
...
+ Added additional functionality, including: Policies and Computer Groups
2018-06-27 23:00:50 -07:00
Zack T
df48f1b06d
Notes on icon cleanup in the Jamf database
...
Notes on icon cleanup in the Jamf database
2018-06-27 22:22:59 -07:00
Zack T
ce488af2e0
v1.6 = Resolved issue introduced in v1.4, where newlines in PPD content were lost
...
+ Resolved issue introduced in v1.4, where newlines in PPD content were lost
2018-06-20 15:53:29 -07:00
Zack T
e1c9fe04f8
v1.2 = Resolved reporting of shield status
...
+ Resolved reporting of shield status
2018-06-20 11:00:56 -07:00
Zack T
91161eb65b
v1.5.2 = Returned code that was removed during testing previous version
...
+ Returned code that was removed during testing previous version; this affected runs on a system with multiple printers
2018-06-18 18:36:54 -07:00
Zack T
5500242d1e
v1.5.1 = Missed some braces for the Printer Display Name
...
+ Missed some braces for the Printer Display Name
2018-06-18 11:28:46 -07:00
Zack T
22f4b5cce3
v1.5 = Resolved issue that was introduced in the previous version
...
+ Didn't sufficiently test previous version
+ Updated how I build the printer configuration info, to hopefully prevent any further possible character matches with delimiters
2018-06-15 15:10:08 -07:00
Zack T
6f07a61c27
v1.3 = Updated for Mojave
...
+ Updated for Mojave (Preliminary support)
2018-06-04 15:28:44 -07:00
Zack T
bc657b62e0
v1.4.1 = Changed from using comma to separate fields to new lines
...
+ Changed from using comma to separate fields to new lines (someone used commas in the location field)
2018-06-04 14:15:30 -07:00
Zack T
f74a04ae08
v1.1 = Now Prompting for info instead of using hard coded values
...
+ Changed several things in this script to make it way more friendly (less hard coded values)
+ Now requesting Credentials, new Site, Types of Devices, and File Locations for each Device Type
2018-05-14 16:28:46 -07:00
Zack T
3fc5799113
v1.0 = Initial Version
...
+ Initial Version
2018-05-11 13:55:48 -07:00
Zack T
b5dd8e3917
Code Improvements
...
+ Code Improvements
2018-05-02 22:06:17 -07:00
Zack T
4c721ef149
v1.0 = Initial Version
...
+ Initial Version
2018-05-02 22:04:05 -07:00
Zack T
0de3793ba9
v1.4 = Added additional information on why a failure occured
...
+ Added additional information on why a failure occured
2018-04-12 16:38:13 -07:00
Zack T
72ee4c73c8
v1.3 = Add Verification for the PUT update
...
+ Added in a check to see if the PUT to update a record succeeds or not
+ Fixed and added some verbose messages
2018-04-06 10:40:53 -07:00
Zack T
aba92a20e9
v1.4 = Resolved issue caused by large ppd files
...
+ Large .ppd files caused curl to error with "argument list to long" -- resolved this by reading configuration from stdin instead of as cli arguments
2018-03-23 13:43:36 -07:00
Zack T
3944c4fd8d
v1.3 = Fixed a couple issues
...
+ Fixed a logic issue with where the curlAPI array is defined
+ Fixed an issue with a prinft statement that wasn't properly formed
2018-03-23 13:39:07 -07:00
Zack T
744204de38
v1.2 = Added additional exit code check for the curl command
...
+ Added additional exit code check for the `curl` command
2018-03-23 11:23:54 -07:00
Zack T
51230ea812
v1.1 = Added more verbose output to the Jamf Policy Log
...
+ Added more verbose output that can be viewed from the Jamf Policy Log
2018-03-23 11:08:42 -07:00
Zack T
c9e4a75b92
v1.0 = Production Ready
...
+ Production Ready
2018-03-19 10:30:19 -07:00
Zack T
6200dacde2
v1.0.1 = Added full paths to all binary utilities
...
+ Added full paths to all binary utilities
- Forgot to remove the `sudo` before the jamf binary command
2018-03-16 23:42:17 -07:00
Zack T
7fed171211
v1.0 = Production Ready
...
+ Tested in live environment and production ready
2018-03-16 22:19:28 -07:00
Zack T
c1c65489fc
v1.2.2 = Resolved MacMini parsing issue
...
+ Resolved MacMini parsing issue that caused them to fail to report compatibility
2018-03-15 11:30:37 -07:00
Zack T
3bd123f608
v0.4 = Resolved issues with PPD Contents causing Bad Requests
...
+ Fixed some logic issues
+ Changed how I get the PPD Contents; also escaping characters for xml now
+ Added Category
2018-03-07 13:05:14 -07:00
Zack T
288b0f02ae
v0.3 = Added Jamf's Encrypted Script Parameters function
...
+ Added Jamf's Encrypted Script Parameters function to encrypted the username and password of the API User (https://github.com/jamfit/Encrypted-Script-Parameters )
2018-03-06 14:03:58 -07:00
Zack T
d012dccead
v0.2 = Lots of logic and user experience improvements
...
+ Improved logic to make sense with the workflow of being run from Jamf or CLI.
+ Changed a few bits to improve user experience
+ Added/improved several checks after tasks
+ Added loop to prompt to create another printer after creating a printer
+ Adjusted language outputed by checkStatusCode()
2018-03-06 13:37:16 -07:00
Zack T
220b6d9d3f
v0.1 = Major work completed, just need to improve logic
...
+ I've been working on this script for the last week trying to hash out some of the ideas I had. It's all there I believe, just need to improve the flow of logic.
2018-03-06 13:30:02 -07:00
Zack T
0b9fb17306
v1.2 = Changed password acquisition method
...
+ Changed password acquisition method based on suggestion from a colleague
2018-02-26 19:25:54 -07:00
Zack T
7118314c04
v1.1 = Added a check on the API credentials provided
...
+ Added a check on the API credentials provided to verify that they were valid and had permissions
2018-02-26 17:12:11 -07:00
Zack T
84545325b3
v1.0 = Production Ready
...
+ Renamed file
2018-02-26 16:53:28 -07:00
Zack T
6e48c8bc70
v0.5 = Added Mobile Device Support & Function to update both Device Types
...
+ Added support for Mobile Devices
+ Created function to handle updating of both Device Types
2018-02-23 21:56:54 -07:00
Zack T
5416c949d9
v0.4 = Changing workflow of the EA
...
- While working through this and testing, found a different way of doing this -- Leaving updateSiteList() Function for others, but I'm not using in my workflow
+ Finalized the update Site EA for Computers, removed from function
2018-02-23 16:37:46 -07:00
Zack T
34ee66b1e4
v0.3 = Created function to update EA for Computer
...
+ Created function to update EA for Computer
2018-02-23 16:15:56 -07:00
Zack T
5b279c179e
v0.2 = Final version of the updateSiteList() Function
...
+ Finalized the updateSiteList() Function
2018-02-23 16:04:34 -07:00
Zack T
52df98095e
Further Code Improvement
...
Further Code Improvement
2018-02-23 11:05:48 -07:00
Zack T
9a615e26dc
General cleanup of current code
...
General cleanup of current code
2018-02-23 10:22:04 -07:00
Zack T
e5afea0e61
v0.1 = Created function for updating the EA's list of Sites
...
+ Created function for updating the EA's list of Sites
2018-02-23 01:31:15 -07:00
Zack T
5d470000b9
v1.0 = Production Ready
...
+ Production Ready
2018-02-23 00:39:07 -07:00
Zack T
96d1b40636
v0.17 = Added a check on the API credentials provided
...
+ Added a check on the API credentials provided to verify that they were valid and had permissions
2018-02-23 00:18:18 -07:00
Zack T
b6ac551260
v0.16 = Finalized the curl "PUT" cmd and other cleanup
...
+ Tested and verified minimum required elements for curl "PUT" cmd to properly configure App
- Removed all unnecessary code from elements that were not needed
- Removed quoting ("") that I had used when originally was doing comma delimited values (now using tab delimited)
2018-02-23 00:18:18 -07:00
Zack T
98325795fe
v0.15 = Added logic that will decide where to send verbose output
...
+ Added a function, informBy(), that will decide where to send verbose output
+ The logic directs the output based on where the script is ran; either from CLI or Jamf
2018-02-23 00:18:18 -07:00
Zack T
e2df84b06f
v0.14 = Added logic to check the API/curl HTTP Status Codes
...
+ Modified the curl commands so that we can get the HTTP Status Codes for each API call and then check each call for success/failures
+ Changed the exitCode() function to checkStatusCode() to compare the HTTP Status Codes
2018-02-23 00:18:18 -07:00
Zack T
89c71b4705
v0.13 = Script can be run via CLI or from a Self Service Policy
...
+ Added and adjusted logic to where the script can be run via CLI or from a Jamf Self Service Policy (for Site Admins)
+ Added option to prompt for credentials
2018-02-23 00:18:18 -07:00
Zack T
c1c669810c
v0.12 = Minor maintenance and cleanup
...
+ Minor mainteanance and cleanup
2018-02-23 00:18:18 -07:00
Zack T
ff804197b2
v0.11 = Resolved issues with the assignApps function
...
+ Resolved issues with the assignApps function
+ Reordered headers that are echo'ed out to the $outFile
2018-02-23 00:18:18 -07:00
Zack T
e45c3ffb4d
v0.10 = Added additional verbosity to several logic structures throughout
...
+ Added additional verbosity to several logic structures throughout
2018-02-23 00:18:18 -07:00
Zack T
6b001d0851
v0.9 = Redefined the curl command structure to work how I wanted
...
+ Fixed the JPS server URL variables
+ Redefined the curl command structure to work how I wanted
+ Fixed header creation to properly output to file
+ Added xml structure to pull additional elements for each App
2018-02-23 00:18:18 -07:00
Zack T
711a1946fe
v0.8 = Added logic to skip the header line on csv read
...
+ Added logic to skip the header line on csv read
+ Added in a check to verify if file exists before trying to read it
2018-02-23 00:18:18 -07:00