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
  Pulling data from mssql to PG DB hartman60 1 1,060 Jan-31-2025, 12:26 PM
Last Post: hartman60
  pyserial/serial "has no attribute 'Serial' " gowb0w 11 34,505 Sep-27-2024, 12:18 PM
Last Post: NigelHalse
  Pulling Specifics Words/Numbers from String bigpapa 2 2,243 May-01-2023, 07:22 PM
Last Post: bigpapa
  Having trouble installing scikit-learn via VSC and pulling my hair out pythonturtle 1 2,056 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 2,418 Dec-19-2022, 11:11 PM
Last Post: Stockers
  Pulling username from Tuple pajd 21 9,155 Oct-07-2022, 01:33 PM
Last Post: pajd
  pulling multiple lines from a txt IceJJFish69 3 4,036 Apr-26-2021, 05:56 PM
Last Post: snippsat
  Pulling Information Out of Dictionary Griever 4 4,776 Aug-12-2020, 02:34 PM
Last Post: Griever
  Pulling & Reading Date from UDF that Compare it to Live Data firebird 4 4,555 Jul-20-2019, 09:30 AM
Last Post: snippsat
  Pulling data from Sharepoint list gandiswapna0388 1 3,836 Jul-17-2019, 08:35 AM
Last Post: perfringo

Forum Jump:

User Panel Messages

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