Proper way to disconnect eGPU through scripting

Hi all

I tried looking online, in forums and in the official docs, but there seems to be no way to disconnect an external GPU (eGPU) without having to click on the top-right menu (the chip icon).


I'm looking to do it via AppleScript / terminal, is there a program that can perform this action?

Thanks

Replies

Hi J0hnWhyte


Please see the following command /usr/bin/SafeEjectGPU


Use --help to see the available options.


Presumably you want `/usr/bin/SafeEjectGPU Eject`