Python Forum
Need help pulling bios serial # or mac Ad - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Need help pulling bios serial # or mac Ad (/thread-8976.html)



Need help pulling bios serial # or mac Ad - cibb - Mar-15-2018

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.


RE: Need help pulling bios serial # or mac Ad - buran - Mar-15-2018

https://github.com/GhostofGoes/get-mac
https://stackoverflow.com/questions/159137/getting-mac-address


RE: Need help pulling bios serial # or mac Ad - cibb - Mar-16-2018

(Mar-15-2018, 08:31 PM)buran Wrote: https://github.com/GhostofGoes/get-mac
https://stackoverflow.com/questions/159137/getting-mac-address

Thanks. Those are a big help.