AirPort Power and Internet Connect

I’m trying to script turning on the power to an AirPort card if it’s turned off. Please see my comment in the script below:

Any ideas?


[This script was automatically tagged for color coded syntax by Convert Script to Markup Code]

It looks like others are running into the same issue.

– Rob