Good afternoon fellow JAMFanatics (TM?) ;)
As I'm sure many of you are, we're stuck deploying Mavericks to the new model MBPs, Airs, and Mac Pros. For our portables, we're getting complaints about the new 'feature' that the user sees in regards to the policy update popup when they log into their Macs and they can't contact the JSS. (For reference: https://jamfnation.jamfsoftware.com/discussion.html?id=8777)
In an effort to curtail that, I'm planning on modifying our standard settings script to disable this check if the machine is a portable. However, I can't seem to find an easy way to determine if it's a portable or desktop. I know system_profiler can be used to pull the model number and whatnot, but I'd rather not try and grep/awk and build a nested if statement if I can help it.
Does anyone know a command or another method to easily return if the machine is a portable? If not, I'll write up a script to determine it and post it here for future reference.
Thank you!