Jump to content


  • 0
cheef116

Help creating custom report

Question

6 answers to this question

Recommended Posts

  • 0

I'm new to SCCM and SQL and I'm trying to figure out how to create a custom report that will display Netbios Name, MAC Address, and Serial Tag for all systems. Can anyone help me out?

 

Hi

 

Hope this code will be helpful for you... :rolleyes:

 

SELECT

a.Hardware_ID0 as [MAC Address],

a.Netbios_Name0 as [system Name],

b.serialnumber0 as [system S/No]

FROM v_r_system a,

v_gs_operating_system b

WHERE a.ResourceID = b.ResourceID

 

:)

Sreeni...

Share this post


Link to post
Share on other sites

  • 0

I'm getting Invalid column name 'serialnumber0' Any suggestions?

 

 

 

Hi

 

Hope this code will be helpful for you... :rolleyes:

 

SELECT

a.Hardware_ID0 as [MAC Address],

a.Netbios_Name0 as [system Name],

b.serialnumber0 as [system S/No]

FROM v_r_system a,

v_gs_operating_system b

WHERE a.ResourceID = b.ResourceID

 

:)

Sreeni...

Share this post


Link to post
Share on other sites

  • 0

I'm getting Invalid column name 'serialnumber0' Any suggestions?

 

HI

 

I hope , you are using SCCM. The code which i given is for querying the details in SMS 2003 DB. I am sorry for that.

 

OK .. Please modify the code like this and try.

 

SELECT

a.Hardware_ID0 as [MAC Address],

a.Netbios_Name0 as [system Name],

b.serialnumber0 as [system S/No]

FROM v_r_system a,

v_gs_pc_bios b

WHERE a.ResourceID = b.ResourceID

 

Thanks,

Sreeni.. :rolleyes:

Share this post


Link to post
Share on other sites

  • 0

That was getting the report to run, and i appreciate that. i am looking for the mac address of the internal NIC however, and i'm not sure what the report is giving me. any suggestions on what to edit to get that? i appreciate all of your help.

 

HI

 

This code will give you the NIC details:

 

SELECT

a.resourceid as [Resource ID],

a.Netbios_Name0 as [system Name],

a.Hardware_ID0 as [MAC Address],

b.serialnumber0 as [system S/No],

c.macaddress0 as [NIC Address],

c.adaptertype0 as [Adapter Type],

c.description0 as [Description]

FROM v_r_system a,

v_gs_pc_bios b,

v_GS_NETWORK_ADAPTER c

WHERE a.ResourceID = b.ResourceID and b.resourceid= c.resourceid

 

Cheers,

Sreeni :rolleyes:

Share this post


Link to post
Share on other sites

  • 0

HI

 

This code will give you the NIC details:

 

SELECT

a.resourceid as [Resource ID],

a.Netbios_Name0 as [system Name],

a.Hardware_ID0 as [MAC Address],

b.serialnumber0 as [system S/No],

c.macaddress0 as [NIC Address],

c.adaptertype0 as [Adapter Type],

c.description0 as [Description]

FROM v_r_system a,

v_gs_pc_bios b,

v_GS_NETWORK_ADAPTER c

WHERE a.ResourceID = b.ResourceID and b.resourceid= c.resourceid

 

Cheers,

Sreeni :rolleyes:

 

 

 

Please help me to create report of

list of software /PC wise

Hardware Inventory Like Toshiba Machines, HP machines etc

Software Updates report like

 

User name machine name Critical important optional

Coloumns

 

Regards

Shee

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.