Quote:

I've never seen the @mac macro, is that new?



Must be. So new I've never seen it either! Try @ADDRESS

Quote:

And what format does that put the mac in?



Quickest way to answer that one is to try it and see
To save you the effort, it is returned without delimiters.

Once caveat though is that there is no guarantee which MAC address you will get returned, which is an issue where you have multiple adapters including additional NICs, dial-up, wireless and so-on.

If you need to get *all* the adaptors on a system you will need to use another method. On my automated server build I parse the output from "ipconfig /all" becuase it needs to work in a pre-boot environment, but normally you should be able to get away with WMI queries.