Jump to content


  • 0
scruffy

Report of Wireless Mac Addy's

Question

Afternoon,

 

Would you know if there is a way to create a report with the following information?

 

Machine Name

Model

Serial Number

Operating System

Service Pack

Wireless Mac Address

 

The key here being Wireless Mac?

 

From what I can see SCCM only captures the wired nic's addy.

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Just whipped this up w/o looking over your entire list of requirements. It just includes Name, MAC Address and Interface Name, but you can easily add Model, Serial Number, OS and Service Pack to it.

 

The other tables you want are dbo.v_GS_PC_BIOS.SerialNumber, dbo.v_GS_COMPUTER_SYSTEM.Model0 and dbo.v_GS_OPERATING_SYSTEM.Caption0. Don't know how to get SP level in there off the top of my head, but I'm sure it's under GS_Operating_System or something similar.

 

 

 

SELECT TOP (100) PERCENT dbo.v_R_System.Netbios_Name0, dbo.v_GS_SYSTEM_ENCLOSURE.ChassisTypes0,

dbo.v_GS_NETWORK_ADAPTER.MACAddress0, dbo.v_GS_NETWORK_ADAPTER.Description0

FROM dbo.v_R_System INNER JOIN

dbo.v_GS_SYSTEM_ENCLOSURE ON dbo.v_R_System.ResourceID = dbo.v_GS_SYSTEM_ENCLOSURE.ResourceID INNER JOIN

dbo.v_GS_NETWORK_ADAPTER ON dbo.v_R_System.ResourceID = dbo.v_GS_NETWORK_ADAPTER.ResourceID

WHERE (((dbo.v_GS_SYSTEM_ENCLOSURE.ChassisTypes0 = '8') OR

(dbo.v_GS_SYSTEM_ENCLOSURE.ChassisTypes0 = '9') OR

(dbo.v_GS_SYSTEM_ENCLOSURE.ChassisTypes0 = '10') OR

(dbo.v_GS_SYSTEM_ENCLOSURE.ChassisTypes0 = '14'))

AND ((dbo.v_GS_NETWORK_ADAPTER.Description0 LIKE '%WIFI%') OR

(dbo.v_GS_NETWORK_ADAPTER.Description0 LIKE '%Wireless%')) AND ((dbo.v_GS_NETWORK_ADAPTER.Description0 NOT LIKE '%Virtual%')))

ORDER BY dbo.v_R_System.Netbios_Name0

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.