Monitor Serial Number retrieval via Casper

Having started in the industry as a Help Desk, I often found one of the responsibilities has always been asset tracking and management.
While many tools do provide asset syncing and reporting tool for computers serial,etc I found them lacking for the other pieces such as display monitors.
I set out to solve that void in my shop by helping our Help Desk easily identify and solve the problem.
The idea was to retrieve the serial number of a connected monitor each time a computer submitted and inventory update.
With a few lines of code, I was able to achieve just that.
Screen Shot 2015-06-08 at 12.53.03 PM

The code parses through system Profiler and retrieves the display serial numbers, should there be more than 1 display attached, the result will grow and show all the serial numbers it finds.

Screen Shot 2015-06-08 at 12.59.26 PM

The first displayed serial represents the main display and the rest follows.
This code has been very useful in my shop to easily identify who had what display.
The serial number is only revealed when the monitor is connected via HDMI, Thunderbolt or DVI, sorry no VGA.

The code is available on my github and while it is ready to be deployed into Casper, it can easily be tweaked for other reporting tools.



Automate Users removal from Casper via REST API

One thing I wished Casper could do is remove users from the Users section after an asset is deleted from Casper.
Granted this may not be a situation for everyone but for me, I end up with lots of disabled users still showing up in my Users section.
While I can manually remove them, doing it every time, a hundred times is not ideal. Continue reading

Automate naming computers in Deploystudio

One thing I have always wondered has been removing the error and the manual out of our imaging process.
While Deploystudio does offer many tools to automate the process and design workflows to achieve completion, I still needed to come up with a way to deal with computer names and the computer records that are stored in Deploystudio.
Thankfully, Deploystudio has a REST API which can be used. Continue reading