Check Active Directory Status On Windows

When scripting, sanity check logging takes way more time that actions. Before binding to an Active Directory domain, you should verify that your system isn’t currently a member of an Active Directory domain. After binding, you should also check that settings are as expected. Use the get-addomain commandlet to do so:


To be more specific about a given domain:

PS C:\> Get-ADDomain -Identity krypted.com


Active Directory Mass Deployment Microsoft Exchange Server VMware Windows Server Windows XP

Enable AutoAdminLogon For Windows Deployments

There are 3 registry keys that admins in the Windows world use to enable automatic logins, often required for deployments that require a logged in user to setup user environments, such as configuring app deployments as part of a mass deployment.

The required keys in the registry are:
read more »

Programming Windows Server Windows XP

Get The Current Logged In User From The Windows Command Line

You can get the currently logged in user from a powershell script by using
$env:username. But most deployment scripts use elevated privileges. Therefore, you need to be a tad bit craftier.

read more »


He Wasn’t Kidding When He Said “I’ll Be Back”

iPhone Mac OS X Mac OS X Server Mac Security

Casper 9.62 Is Out!

Casper 9.62 is now out! And holy buckets, look at all the stuff that got fixed in this release:



PS – There’s also some api improvement goodness!

Articles and Books

25 Amusing Lorem Ipsum Generators

Hacker Ipsum: http://hackeripsum.com

Screen Shot 2014-12-03 at 9.55.51 AM

Ancient Alien Ipsum: http://idsgn.dropmark.com/107/2204284

Screen Shot 2014-12-03 at 9.56.36 AM

Bluth Ipsum: http://idsgn.dropmark.com/107/1130439

Durden Ipsum: www.durdenipsum.com

Screen Shot 2014-12-03 at 10.12.22 AM

Batman Ipsum: batman-ipsum.com

Screen Shot 2014-12-03 at 10.11.11 AM

Zombie Ipsum: http://www.zombieipsum.com

Screen Shot 2014-12-03 at 9.57.10 AM

Hipster Ipsum: http://hipsteripsum.me

Screen Shot 2014-12-03 at 9.58.03 AM

Whedon Ipsum: http://www.commercekitchen.com/whedon-ipsum

Screen Shot 2014-12-03 at 9.58.51 AM

Pirate Ipsum: http://pirateipsum.me

Screen Shot 2014-12-03 at 10.01.28 AM

Bacon Ipsum: Bacon Ipsum

Screen Shot 2014-12-03 at 10.00.54 AM

Lebowski Ipsum: http://www.lebowskiipsum.com

Screen Shot 2014-12-03 at 10.02.00 AM

Sagan Ipsum: http://saganipsum.com

Screen Shot 2014-12-03 at 10.02.35 AM

Pokemon Ipsum: http://nyarth.net/ipsum

Screen Shot 2014-12-03 at 9.50.25 AM

Riker Ipsum: http://www.rikeripsum.com

Screen Shot 2014-12-03 at 10.03.05 AM

Delorean Ipsum: http://www.deloreanipsum.com

Screen Shot 2014-12-03 at 10.05.06 AM

Heisenberg Ipsum: http://heisenbergipsum.com

Screen Shot 2014-12-03 at 10.05.36 AM

Hillbilly Ipsum: hillbillyipsum.com

Hodor Ipsum: http://hodoripsum.com (cause pasting Hodor 1,000 times will hurt your thumb)

Screen Shot 2014-12-03 at 10.06.24 AM

Samuel L Ipsum: http://slipsum.com

Screen Shot 2014-12-03 at 9.53.01 AM

Beer Ipsum: http://beeripsum.com

Screen Shot 2014-12-03 at 10.07.54 AM

Liquor Ipsum: http://liquoripsum.com

Screen Shot 2014-12-03 at 10.08.25 AM

Star Wars Ipsum: star-wars-ipsum.herokuapp.com

Screen Shot 2014-12-03 at 10.16.13 AM

Charlie Sheen Ipsum: Charlie Sheen Lorem Ipsum

Screen Shot 2014-12-03 at 10.07.15 AM


Game of Thrones Ipsum: www.gameofipsum.com

Screen Shot 2014-12-03 at 10.13.51 AM


IT Crowd Ipsum: www.itcrowdipsum.com (just text, not an actual generator)

Screen Shot 2014-12-03 at 10.15.04 AM


Corporate Buzzwords FTW: www.cipsum.com

Screen Shot 2014-12-03 at 10.18.48 AM

Bushel iPhone Mass Deployment

How To View What Payloads Do To Devices

You can see exactly what Bushel, and other MDM platforms do to your OS X devices using the System Information utility. As with all Mobile Device Management (MDM) solutions that interface with OS X, you can use the About this Mac menu item under the Apple menu at the top of the screen to bring up the System Information utility. When you open this tool, you will see a lot of information that can be derived about your devices. Scroll down the list and click on Profiles. Here, you will see all of the Device and User profiles that have been installed on your computer, the payloads within each profile and the keys within each payload.

Screen Shot 2014-12-01 at 12.00.11 PM

Inside each profile there are a few pieces of information that define how the profile operates on the computer. Click on one to see the specific details for each Payload. Payloads are a collection of settings that a policy is changing. For example, in the above  screenshot, allowSimple is a key inside the com.apple.mobiledevice.passwordpolicy payload. This setting, when set to 1 allows simple passcode to be used on the device. When used in conjunction with the forcePIN key (as seen, in the same payload), you must use a passcode, which can be simple (e.g. 4 numeric characters).

Using these settings, you can change a setting in Bushel and then see the exact keys in each of our deployed payloads that changed when you change each setting. Great for troubleshooting issues!

Mac OS X

Quick-Tip: Menu Items Modifier Keys In OS X

A modifier key is a key that when held in combination with another key, causes a unique behavior. For example, Command-c copies highlighted data to your clipboard. The Finder modifier keys are pretty well documented. But a number of menu items support modifier keys as well. For example:

  • Click on the Dropbox item in your menu, you’ll be able to see the status of files that have sync’d as well as a cogwheel with the typical settings for an app like Dropbox. Option-click on the Dropbox menu item, you’ll see the items under the cogwheel menu.
  • Option-click the Wi-Fi menu item to see extended Wi-Fi information.
  • Option-click Bluetooth, you’ll see version and MAC address information for your bluetooth interface (note that the extended options are usually greyed out/informational).
  • Option-click on the sound menu item and you can switch input and output devices (these extended options are actually shown as you can switch between things).
  • Option-click AirPlay and you get, well, the same menu. So not all support extended information and options.
  • Option-click Go to see Library.
  • Option-click the Menu menu to see shift modifier keys to access All options (this actually works on a lot of menus such as Finder, File and Edit, but even within some apps).
  • Option-click on the Notifications menu item and you disable Notification Center.

Screen Shot 2014-12-01 at 8.15.03 PM

But my favorite, for Apple apps, if you command-click on items, you can just drag them out of your menu. This saves you from firing up System Preferences and unchecking the box to remove them from the menu.


All Giddy About Star Wars VII

That light saber doesn’t look very safe. But it does look like some awesome cinematic goodness. Wonder if his name is the Mule… Asimov fans everywhere would be like “I knew it!”


What A Morning!

It’s a random Friday morning. I wake up ready to work and the radio on my AirPort stops working. I reset the device, do everything I know to do, but there is no SSID, no radio signal whatsoever. What to do? String a cable across the room so that it can get ripped out of a computer when the crazed, six year old invariably streaks through the office having watched Power Rangers and looking to chop me into pieces? Not a chance. I’ll just run out to the closest Apple store and grab a quick replacement.

So I hop in the car and drive to the mall. What is going on with parking? I finally find a spot out in no-mans-land, but wait – an 80-something year old woman in a brand new red Civic swings in front of me, practically clipping my bumper to steal my spot hanging me a bird and yelling “here’s my Holiday cheer” in the process. Wow. Wait, did that middle fingernail really have a picture of Santa painted on it?!?! Suburbs…

There’s another spot a little further out, but wait – again my life is put in danger! This time by a car load of 40-something year old women with shorter in the back than in the front, some with a little spike action in the back but all with at minimum two colors in their hair and at least 5 shades between them – which is less shades than the stitches on their bejeweled jean pockets… After wondering whether my car would fit in the back of their Yukon, I think I’ll find another spot!

After a quick scan, much akin to a running back trying to figure out where that linebacker and free safety are, I see a carload of nuns and orphans, with hate and fear in their eyes, about to take a spot. I slam on the gas, flip right in front of them and gently rest my car between those beautiful golden lines. I hear a scream as their tires scream to a halt and see poor Tiny Tim’s face writhe as his crutch smacks him in the back of his head, knocking him out cold; but I am finally in a spot, after at least 15 minutes of searching and at least 2 near death incidents. As I sit, heart pounding, I wonder at how I was able to get caught up in the craziness. But more importantly, what is the craziness about?

I exit the car and start making my way towards the mall entrance. After traversing the distance of a marathon, with a group of nuns seemingly chasing behind (my time was 3 hours and 2 minutes, theirs 3 hours and 1 minute – but they were slowed up by Tiny Tim until they left him behind) I finally approach the door of the mall. Just then, the Salvation Army guy pounces from behind a column, ringing the Vorpal bell so loudly that I can see the sound waves approaching and feel the 1d6+5 hit points of damage they do inside my temples. I pull a spin move, stiff arm his bucket dropping a buck in there and while I have no idea how he’s made it this far, this fast I see Tiny Tim lunging at me from my periphery. Recalling all those Georgia games, I hurdle Tim in a manner that Knowshown Moreno would be proud of and fall into the door of the mall, feeling the warmth already thawing out my semi-frost bitten feet. I sigh.

But just then I see a shopping cart barreling down on me at a break-neck pace. I roll away just in time and see who I guess to be Large Marge from Pee-Wee’s Big Adventure wearing a bedazzled Green Bay Packers sweater and shrieking with laughter. Before I can contemplate what in tarnation is wrong with people the group of nuns flings the door open just behind me, with a bloody stump of an arm still clasping his bell waving over their heads. They lock their eyes on me and hurl the stump in my direction. I sprint into the mall, juking right, then left and then an old school swim move to get past the thin, pale, faux-hawk toting/director glasses wearing college kid who for some reason is foaming at the mouth and snarling at me. Once past, I look back and see him lock onto the nuns. I smile just as he gets beamed in the head with that bell arm. I can’t help but think, maybe the Cowboys should bring her in to replace Romo… (too soon, I know).

Like a northstar, I see the Apple logo over the heads of seemingly rioting hipsters. The skinny jeans apparently got so tight, they’ve cut off circulation to those Fluevog-laden feet. There isn’t a pair of uncracked Gucci glasses amongst them as these lumbersexuals (it is Movember ya’ll) battle it out for who gets to complain about the coffee at the Caribou in the middle of the mall. I get an idea! I pull the crossbow from my computer bag (you do take a crossbow everywhere, right?!?!), rip the knit cap from one of the hipsters, tie a piece of yarn to my bolt and fire it just right, so the yarn unravels as the bolt loops through all the gaged earholes tying them together  and parting hipster beards like the red sea. At last, the Apple store is in sight.

I see a father with his 3 children sitting on the floor eating ice cream. They are sitting in an aura of protection in front of the Apple Store. There is a nice young lady at the door of the Apple Store. As I cross the threshold of the store I notice the number of people inside. The nuns, Large Marge, the ladies from the Yukon, Tiny Tim (apparently he found a supercharged wheelchair and changed his name to Timmy 2000 – TIMMMAAAAAAHHHHHGGGG!!!!) and the poor one armed Salvation Army guy approach but slam into what is apparently a force field against crazy surrounding the Apple Store. Boob, relief!

I move to the back of the store, passing the Geico lizard, peaking from behind the genius bar (that would explain the angry cavemen in True Religions and a Favre jersey hovering outside the store). There, I see the AirPort that I am there for. But no, I have a question. Crap. It’s busy. A nice young lady (another nice young lady – after all the crazy it’s kinda’ hard to believe) approaches and asks if I need anything, seeing the furrow in my brow – or am i perma-furrowed?). Why yes, I respond. She knows more than someone her age should about 802.11ac but alas not the answer to my question, but wait here, I’ll be right back. Ya’ right?!?! Within a few seconds she appears again, with another nice young lady who actually does know the answer to my question. Well good grief, I guess I should get two of them then… She swipes my card, gives me a bag with my schwag in it and actually gives me the small business discount, apparently having remembered me from a previous ACN event. Wow.

I look back at the door with the forcefield, Large Marge (now armed with a curtain rod from Macy’s, Tiny Tim (now armed with a bolo made from Bang and Olufsen speakers and speaker-wire), the Nuns (wielding torches made from burning t-shirts from Spencer’s) and of course the now one armed Salvation Army guy wielding fugly fashion victim white sunglasses from Louis Vitton with tight, pegged $900 jeans and a monotone rasta hat that makes Bob Marley roll over in his grave. I know I will survive though, as Apple has called in Bruce Campbell to escort us all to our cars. Finally, I think to ask. What is wrong with people today? Ash looks down at me and asks “what is wrong with you people, going to the mall on Black Friday?!?!”

I didn’t know what I was getting into. I just needed an AirPort. On Black Friday I was able to walk into the Apple Store at Rosedale Center and in less than 15 minutes, walk out the door with what I needed. The only good experience in the whole mall – even on Black Friday! Kudos to you Apple and to the whole team at Rosedale. Wait, I forgot, I needed a new Apple TV. I should go back in…