Here is a link to the windows version:
http://blog.jongallant.com/2015/08/particle-photon-mac-address.html
Use some kind of serial program to make a connection, and press ''m"? Coolterm seems popular.
Using particle-cli, “particle serial mac” works.