Author: alanysiu

  • “looks like a filename, but the file does not exist” error when deploying a Cloud Function

    Caveat This fits in the category of “What it ended up being for me, and it may help someone else” and not “I’m an expert on all gcloud errors, and this is always the solution,” so please resist the urge to comment with “This didn’t solve it for me. What’s the solution to my problem?” […]

  • Making a custom Nudge launch agent

    Introduction Nudge releases generally come as Nudge, Nudge logger, and the Nudge launch agent. As of this writing, the Nudge launch agent will launch up Nudge every 30 minutes. The package is also signed: If you’re creating your own launch agent, you may want to code-sign it, or you may not have to, depending on […]

  • Ensure your VMware Fusion Macs enroll in Jamf as Computers, not Devices

    It used to be that you could create a VMware Fusion virtual machine Mac, enroll it in Jamf (either by spoofing the serial number for Automated Device Enrollment or just using an auto-generated VM serial for manual enrollment). Recently (not sure when, exactly), you may have noticed if you try to enroll a VMware Fusion […]

  • Using Nudge’s targetedOSVersionsRule

    With a single .json file or a single MDM-delivered configuration profile, you can have various deadlines and desired OS versions for Nudge, depending on the current macOS version of the client. Let’s say, for example, you want an earlier deadline for client machines on a very old build but a later deadline for other client […]

  • Finding out which organization Office 365 is activated with

    If you want to see what organization Office 365 is activated with, you can take a peek at the user preferences: defaults read This is a bit tricky, though. At first glance, it might seem defaults read OfficeActivationEmailAddress is the best indicator of what account is signed in, but that value will remain […]

  • Basic default behavior in Nudge (Swift, not Python)

    A couple of years ago, I published an Introduction to Nudge. At the time, Nudge was written in Python and worked in Catalina. The new version of Nudge is written in Swift and works for Big Sur and Monterey (and presumably Alcatraz and beyond). This new version of Nudge has a whole bunch of configurable […]

  • How to install macOS 12 (Monterey) as a VMware Fusion guest VM

    Notes These are just more fleshed out steps from a brief overview in the VMware Fusion communities online forums. Hopefully, these instructions will be obsolete soon in a future update of VMware Fusion (where you can just select macOS 12, drag the installer to the install wizard, and have VMware Fusion do everything for you). […]

  • Script to find application architectures on your Mac

    Apple has once again switched architectures. It used to be a switch from PowerPC to Intel. Now it is a switch from Intel to Apple Silicon. Vendors are in the process of switching from releasing Intel only or separate Intel and Silicon binaries to releasing universal binaries (that will work on both Intel and Silicon), […]

  • Signs you may have conflicting MDM profiles in macOS

    Jamf doesn’t currently let you easily separate out individual parts of a profile, so if you deploy a Restrictions profile, you have to enforce all the parts of the Restrictions profile. Sure, you can download the profile, un-sign it, modify it, re-sign it, and then re-upload it, but that’s not very easy to then modify […]

  • Installing macOS in VMware Fusion

    Introduction It’s not that difficult to install a macOS guest VM on a macOS host using VMware Fusion and personal (non-enterprise) licenses for VMware Fusion are now cost-free. But here are the actual steps. Get the installer Method 1 There’s a way built into macOS to get the installer using the softwareupdate –fetch-full-installer command in […]