So I open the network prefs, select the wifi interface go to the little cog wheel at the bottom and select "Make Service Inactive".
Can somebody please tell me how to do this via the Terminal, or at least a script that I can push out via jamf or something?
Oh, it needs to work on Mojave and higher macOS...