Python Forum

Full Version: Need help pulling bios serial # or mac Ad
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm needing to pull the bios serial number or mac address of a windows device in a python script. I'd like to set this to a variable for later use.

I can easily get this with a WMIC but it doesnt' appear python easily works with WMIC. I can use powershell though I'll admit I'm trying to avoid it as this would require some other changes to the environment this would run in but I'm not against it if there's no other viable option.
(Mar-15-2018, 08:31 PM)buran Wrote: [ -> ]https://github.com/GhostofGoes/get-mac
https://stackoverflow.com/questions/1591...ac-address

Thanks. Those are a big help.