Python Forum
Need help pulling bios serial # or mac Ad
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need help pulling bios serial # or mac Ad
#1
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.
Reply
#2
https://github.com/GhostofGoes/get-mac
https://stackoverflow.com/questions/1591...ac-address
Reply
#3
(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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  pyserial/serial "has no attribute 'Serial' " gowb0w 9 3,313 Aug-24-2023, 07:56 AM
Last Post: gowb0w
  Pulling Specifics Words/Numbers from String bigpapa 2 723 May-01-2023, 07:22 PM
Last Post: bigpapa
  Having trouble installing scikit-learn via VSC and pulling my hair out pythonturtle 1 720 Feb-07-2023, 02:23 AM
Last Post: Larz60+
  (Python) Pulling data from UA Google Analytics with more than 100k rows into csv. Stockers 0 1,170 Dec-19-2022, 11:11 PM
Last Post: Stockers
  Pulling username from Tuple pajd 21 3,224 Oct-07-2022, 01:33 PM
Last Post: pajd
  pulling multiple lines from a txt IceJJFish69 3 2,522 Apr-26-2021, 05:56 PM
Last Post: snippsat
  Pulling Information Out of Dictionary Griever 4 2,823 Aug-12-2020, 02:34 PM
Last Post: Griever
  Pulling & Reading Date from UDF that Compare it to Live Data firebird 4 2,706 Jul-20-2019, 09:30 AM
Last Post: snippsat
  Pulling data from Sharepoint list gandiswapna0388 1 2,563 Jul-17-2019, 08:35 AM
Last Post: perfringo
  String Pulling pdatt794 1 2,724 Oct-23-2017, 08:18 AM
Last Post: wavic

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020