I like to run secure erase before I fresh install windows and in the past I’ve used the Magician Utility to make a secure erase utility bootable usb.
However, I believe the secure erase bootable usb process was intended for SATA drives because you have to remove the cables from the SSD during the process.
How can I run the equivalent process for an M.2 drive? I have a 980 Pro with the heatsink. Unscrewing and reseating M.2s isn’t really something to be doing more than once or twice. So there must be another method.
Are you reselling or giving away the machine in question with the M.2 drive? If you are not doing that, then you should refrain from using secure erase methods on the drive, they will greatly degrade the lifespan.