Re: SMS' Database views
- From: "Steve Thompson" <stevethompson@xxxxxxxxxxxxx>
- Date: Thu, 25 Jan 2007 15:57:20 -0500
"German Suazo" <germans@xxxxxxxxxxxx> wrote in message
news:518672C4-4824-4E41-B0DC-1099586922D5@xxxxxxxxxxxxxxxx
We are working with a client on developing custom reports, and we would
like
to know what is the view and field where we could find the Serial number
of
all the machines inventoried by SMS. The thing is that our client wants a
report of all the PCs sorted by its serial number to use it like an unique
identifier, so, if a PC is formated and installed as new, they will find
it
by its serial number instead of by its SMS ID or name.
I see you posted an identical question in *.misc
As Garth mentioned, there is variation in where the serial number gets
stored, you could try this query as a starting point:
Here's an excerpt from a query that will give you that information (I had to
alter it here, so hopefully it still works :)
SELECT v_R_System.Netbios_Name0 AS [Computer Name],
v_GS_COMPUTER_SYSTEM.Model0 AS Model,
v_GS_PC_BIOS.SerialNumber0 AS [Serial Number]
FROM v_R_System INNER JOIN v_GS_PC_BIOS ON
v_R_System.ResourceID = v_GS_PC_BIOS.ResourceID INNER JOIN
v_GS_COMPUTER_SYSTEM ON v_R_System.ResourceID =
v_GS_COMPUTER_SYSTEM.ResourceID
WHERE ( v_R_System.Client0 = 1)
Steve
.
- References:
- SMS' Database views
- From: German Suazo
- SMS' Database views
- Prev by Date: Re: SMS' Database views
- Next by Date: Re: Removed unavailable PC information from SMS
- Previous by thread: Re: SMS' Database views
- Next by thread: Re: Removed unavailable PC information from SMS
- Index(es):
Relevant Pages
|
Loading