Skip to content

Help creating custom report

Featured Replies

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?

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...

  • Author

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...

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:

  • Author

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.

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:

  • 2 months later...

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

Join the conversation

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

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.