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

Identifying installed VM guestOS via Casper

While wondering about ways to increase our visibility on clients, we came to the realization that we were clueless about Virtual Machines.
We could tell who had virtualization software installed (Parallels,VMware Fusion,VirtualBox) but beyond that nothing. Continue reading


Leverage Software Updates via Casper

Casper can be used for software updates but I felt something was missing (I am talking about me here!), so I went about writing something to help.
I wanted to once a week be able to install os x updates on all my clients and prompt them to restart while giving them a grace period if they couldn’t do it at the time of the prompt. Continue reading


Enforcing Critical OSX System Updates via Casper

Upon many talks from and within the Mac Admin community about XProtect and Gatekeeper updates, it was pointed out that within a few scenarios, the updates don’t apply. Continue reading


Disabling IPv6 on Wireless via Casper

I wrote a script for Casper as an extended attribute to check and disable IPv6 on wireless.
The script checks against each client if a wireless interface is enabled and then checks if IPv6 is enabled on that interface. If it is the case, it will turn it off and pass the status over to the attributed field in casper.
Continue reading