Report on age of desktop/laptop hardware (Full Version)

All Forums >> [Management Products] >> Microsoft Systems Management Server >> SMS 2003



Message


dgagliardotto -> Report on age of desktop/laptop hardware (9/24/2008 8:44:39 AM)

Does anyone know of a way to report on the age of desktop or laptop?  When the actual hardware was built?  I want to be able to run reports on hardware that is 3 years old or 4 years old, etc. 




skissinger -> RE: Report on age of desktop/laptop hardware (9/24/2008 10:34:18 AM)

Do you have SP3 & AI?  If so, check out the hardware 02a & 02b reports. 

If you don't have AI, you can also get imaged date.  That may or may not be useful depending upon if a box was reimaged during it's lifecycle.  Check the report "Computer operating system version history", the "Install Date" field. 




dgagliardotto -> RE: Report on age of desktop/laptop hardware (9/24/2008 10:35:54 AM)

We do have those reports.  Unfortunately if a box is reimaged during its lifecyle that information won't be correct.  Thanks for the quick response. 




jnelson993 -> RE: Report on age of desktop/laptop hardware (9/24/2008 10:56:01 AM)

That doesn't make sense...the reports go off the birth date of the CPU (v_LU_CPU.CPU_Birth)...not off the OS installation date...

Are you ASSUMING it would get reset, or have you witnessed it?





dgagliardotto -> RE: Report on age of desktop/laptop hardware (9/24/2008 11:04:18 AM)

Thanks.  that appears to be more in line with what I am looking for.  Although that is just CPU date, that should be realtively close to the date of the PC.  about 50% of my results are showing up with (Not Available) for the estimated date of CPU manufacture.  Any thoughts on this?

Thanks.




skissinger -> RE: Report on age of desktop/laptop hardware (9/24/2008 12:53:45 PM)

The cpu manufacture date is part of the AI additional information which was installed with AI.  The information for that field is static--it doesn't get reported by the client.  The CPU does, but the date of birth is essentially hard coded into a table in the database.  So essentially there is no birth date available for that CPU type.  Unfortunately, I don't believe the AI tables (like that one) are updated too frequently.  You may need to do your own research to estimate the "birth date" of those CPUs.




gjones -> RE: Report on age of desktop/laptop hardware (9/24/2008 1:00:31 PM)

I know how to get the warranty date using a 3rd party tool. Is that more what you are looking for?




MeenEnta -> RE: Report on age of desktop/laptop hardware (9/24/2008 1:54:58 PM)

Gjones, please Share.




dgagliardotto -> RE: Report on age of desktop/laptop hardware (9/24/2008 1:55:16 PM)

Thank you both. 


Gjones,

I definitely would be interested in the 3rd party tools.

Thanks




gjones -> RE: Report on age of desktop/laptop hardware (9/24/2008 3:01:35 PM)


Let me start of by saying that I work for Enhansoft and they produce Warranty Information Reporting (WIR) which is sold through resellers such as SCCM Expert.  For more information see http://www.sccmexpert.com/Products/EAM.aspx and you can download the evaluation copy there too.

If you have questions feel free to ask me offline.




Tom_Watson -> RE: Report on age of desktop/laptop hardware (9/30/2008 5:59:19 AM)

You might want to take a look at the report I posted on http://www.myitforum.com/forums/m_180656/mpage_1/key_/tm.htm#180805 (which is roughly based on an article Garth did way back in SMS 2.0 days).

Its not foolproof however, so you might want to go with the 3rd party tool Garth mentioned.

Regards,
Tom Watson




MeenEnta -> RE: Report on age of desktop/laptop hardware (9/30/2008 4:56:22 PM)

Tom, thx for the posting and Link, I think Dell changed the way you post for the Warranty Info including the link to it, after changing to the proper warranty link on Dell's site, I'll have to re-enter the service tag.

I know that Dell runs the Script as a Post and not as a Get.

basicaly it will take me to this link
http://support.dell.com/support/topics/global.aspx/support/my_systems_info/details?c=us&l=en&s=gen
and then i'll have to manually enter the tag.

Can this be fixed to make it behave similarly to the one of HP?




Tom_Watson -> RE: Report on age of desktop/laptop hardware (10/1/2008 3:36:36 AM)

Not really.  It's really down to the way the Dell website works, which we have no control over.

I have found that if you log into the Dell website first, then with the same browser session run the report, and then click on a link for a Dell PC's warranty information, it takes you directly to the information.  So if you are mostly a Dell shop, login first.  We are mostly HP, so I don't have a lot of Dells to test with.

Regards,
Tom Watson




Tom_Watson -> RE: Report on age of desktop/laptop hardware (10/1/2008 5:23:33 AM)

BTW.  I changed the report to include Levono and Gateway PCs.

Regards,
Tom Watson




MeenEnta -> RE: Report on age of desktop/laptop hardware (10/1/2008 11:08:33 AM)

Thx Tom for Adding the Lonovo / Gateway, but we were able to get the Dell links for Warranty to work, here's the code: changes in red.

SELECT  DISTINCT v_r_system.netbios_name0                  AS "Computer Name",
              v_gs_system_console_usage.topconsoleuser0 AS "Top Console User",
              v_gs_system_enclosure.serialnumber0       AS "Serial Number",
              v_gs_system_enclosure.smbiosassettag0     AS "Asset Tag",
              v_GS_PC_BIOS.serialnumber0                AS "PC Bios Serial Number",
              v_gs_computer_system.manufacturer0        AS "Computer Manufacturer",
              v_gs_computer_system.model0               AS "Computer Model",
v_GS_OPERATING_SYSTEM.InstallDate0 AS "Install Date (Cloned)",
              "Estimated Date of CPU Manufacture" = CASE
                                                      WHEN (CAST(v_lu_cpu.cpu_birth AS VARCHAR) IS NULL) THEN '(Not Available)'
                                                      ELSE  CAST(v_lu_cpu.cpu_birth AS VARCHAR)
                                                    END,
              ismulticore0                              AS "Is Multi Processor System",
              CASE
                WHEN v_gs_computer_system.manufacturer0 LIKE "Hewlett%" THEN 'http://h20000.www2.hp.com/bizsupport/TechSupport/WarrantyResults.jsp?sn=' + v_gs_system_enclosure.serialnumber0 + '&country=US'
                WHEN v_gs_computer_system.manufacturer0 LIKE "HP%" THEN 'http://h20000.www2.hp.com/bizsupport/TechSupport/WarrantyResults.jsp?sn=' + v_gs_system_enclosure.serialnumber0 + '&country=US'
                WHEN v_gs_computer_system.manufacturer0 LIKE "Compaq%" THEN 'http://h20000.www2.hp.com/bizsupport/TechSupport/WarrantyResults.jsp?sn=' + v_gs_system_enclosure.serialnumber0 + '&country=US'
                WHEN v_gs_computer_system.manufacturer0 LIKE "Dell%" THEN 'http://support.dell.com/support/topics/global.aspx/support/my_systems_info/details?c=us&l=en&s=gen&servicetag=' + v_gs_system_enclosure.serialnumber0
                WHEN v_gs_computer_system.manufacturer0 LIKE "IBM%" THEN 'http://www-304.ibm.com/systems/support/supportsite.wss/warranty?type=' + LEFT (v_gs_computer_system.model0, 4) + '&serial=' + v_GS_PC_BIOS.serialnumber0 + '&action=warranty&brandind=5000008'
                ELSE '(Not available)'
              END AS "Warranty Information"
FROM   v_gs_processor
     INNER JOIN v_r_system
       ON v_gs_processor.resourceid = v_r_system.resourceid
INNER JOIN v_GS_OPERATING_SYSTEM
       ON v_gs_processor.resourceid = v_GS_OPERATING_SYSTEM.resourceid
     INNER JOIN v_gs_system_enclosure
       ON v_gs_system_enclosure.resourceid = v_r_system.resourceid
     INNER JOIN v_GS_PC_BIOS
       ON v_GS_PC_BIOS.resourceid = v_r_system.resourceid
     INNER JOIN v_gs_computer_system
       ON (v_gs_computer_system.resourceid = v_r_system.resourceid)
     LEFT JOIN v_gs_system_console_usage
       ON v_gs_system_console_usage.resourceid = v_r_system.resourceid
     LEFT JOIN v_lu_cpu
       ON Lower(v_lu_cpu.cpuhash) = Lower(v_gs_processor.cpuhash0)
WHERE  v_r_system.netbios_name0 like @Name
     AND v_GS_SYSTEM_ENCLOSURE.ChassisTypes0 <> 12




Tom_Watson -> RE: Report on age of desktop/laptop hardware (10/1/2008 11:59:36 AM)

Many thanks.  I've updated the report over at http://www.myitforum.com/forums/m_180656/tm.htm

Regards,
Tom Watson




dgagliardotto -> RE: Report on age of desktop/laptop hardware (10/1/2008 12:04:47 PM)

This is great stuff.  Thank you both. 




MeenEnta -> RE: Report on age of desktop/laptop hardware (10/1/2008 12:12:23 PM)

The Main thx go to Tom for great work done; I just played with what he offered.




dgagliardotto -> RE: Report on age of desktop/laptop hardware (10/1/2008 12:16:01 PM)

Thank you Tom. This is very helpful.

Is there anyway to pull the warranty data from the vendors site and put that in the report instead of just showing the link? 

Unfortunately. I wanted to use the Estimated Date of CPU Manufacturer but about 50% of our PCs show up as not available.  After speaking with MSFT on this they mentioned that there is an AIS update that could fix this problem. 




MeenEnta -> RE: Report on age of desktop/laptop hardware (10/1/2008 12:28:40 PM)

dgagliardotto

That is why i added one item onto Tom's script (see my posting above) and that is the Date the system was cloned
v_GS_OPERATING_SYSTEM.InstallDate0 AS "Install Date (Cloned)",
 
and
 
INNER JOIN v_GS_OPERATING_SYSTEM
      ON v_gs_processor.resourceid = v_GS_OPERATING_SYSTEM.resourceid

 
This will give me a fair estimate to when the machine was acquired and deployed. granted that sometime we have to reclone a machine but this is a rare case, I would say we reclone 5 machines per year out 1200.

One more thing, we name our work stations like this: DYYMMXXX, which means D for Desktop (L for laptop etc..) YY = year purchased, and MM = Month purchased XXX is sequence of machine. which helps alot in warraty services.

i hope that helped.




Tom_Watson -> RE: Report on age of desktop/laptop hardware (10/1/2008 12:30:24 PM)

I guess that would be where you go with the 3rd party tool Garth mentioned above.

Tom




dgagliardotto -> RE: Report on age of desktop/laptop hardware (10/1/2008 12:35:27 PM)

Thanks. 




asaxton -> RE: Report on age of desktop/laptop hardware (12/19/2008 10:57:26 AM)

I found your excellent report that goes out to the manufacturer websites and gets the warranty information.  Unfortunately, I have not been able to get this working for me.  I have set up the prompt to request the computer name and copied your code into the SQL for the actual report (not the prompt code).  When I run the report I get an error telling me "Invalid column name 'Hewlett%'".  This happens for all systems.  We pretty much only have HP and Dell's in use.  Any assistance you can give me would be appreciated.




Tom_Watson -> RE: Report on age of desktop/laptop hardware (12/19/2008 11:02:44 AM)

Did you use the code from here? :-

http://www.myitforum.com/forums/m.asp?m=186923

Tom




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.359375