Macbook Wireless Issue

I have a seen some issues with some mac airs running different version of os where wireless network adapter will not show any wifi networks and the user is unable to have any connectivity. I can however ssh in the machine. Reboot does not work all the time and I was wondering if anyone knows how to delete the wireless adapter out via cli and recreate it. My thought was a script I could scp over to the machine since ssh seems to function yet and run the script. Then someone would not need to travel to four different locations all the time just to do the same process via the gui. I have tried to find any information on how to do this but have had no luck. Plus I do not much experience with using Apple computers.