SCCM query for taking report from all clients for a SW installed and its version

Hi ,  I need to pull a report from all servers in my landscape to identify the servers where 'HP system management homepage' is installed and its version. I have SCCM 2007 R2 and need to run a query/report. Please help me how to do this. 
I am a beginner in SCCM.
Thanks in advance.
Vivek Nambiar

Hi Vivek,
Try this SQL query and let us know if it helps. Use your SCCM SQL database or the 'Reports' feature on SCCM to run the same.
SELECT
dbo.v_R_System.Name0 as 'Host Name',
dbo.v_R_System.User_Name0 as 'User Name',
dbo.v_GS_OPERATING_SYSTEM.Caption0 AS 'Operating System',
arp.DisplayName0 as 'Product Name',
arp.Version0 as 'Product Version'
FROM dbo.v_Add_Remove_Programs AS arp
INNER JOIN dbo.v_R_System ON arp.ResourceID = dbo.v_R_System.ResourceID
INNER JOIN dbo.v_GS_OPERATING_SYSTEM ON dbo.v_R_System.ResourceID = dbo.v_GS_OPERATING_SYSTEM.ResourceID
WHERE arp.DisplayName0 LIKE 'HP system management homepage%' AND
dbo.v_R_System.Operating_System_Name_and0 LIKE '%server%'
ORDER BY arp.Version0, dbo.v_R_System.Name0
~ Rajeesh M | Blog: ScorpITs | Please remember to 'Mark as Answer' or 'Vote as Helpful' on the post that helps. It helps others reading the thread and
recognizes useful contributions

Similar Messages

  • Query runs every minute from B1 client - read B1 log file

    Hi all,
    We found this query has been run every minute from B1 client. It slows down the system, as we have over 100,000 records in table OCLG - activities. How do we stop this query to be run from B1 client. Also, anyone know what is the number for Duration in B1 log file, does the number mean CPU time? We got Duration=3581 for this query. but it takes about 10-15 seconds to run the same query from SQL 2005 management studio. Any idea?
    Thanks,
    David
    ============================================================================================
    16/02/2010  12:10:42:295830    SQLMessage    Note           ExecDirectInt     C:\Program Files\SAP\SAP Business One\SAP Business One.exe            PID=1972             TID=1920             Duration=3581  Fetched=0
                                                                                    Query     
    SELECT T0.[ClgCode], T0.[Action], T0.[Details], T1.[Name], T0.[Recontact], T0.[BeginTime], T0.[AttendUser] FROM  [dbo].[OCLG] T0   LEFT OUTER  JOIN [dbo].[OCLO] T1  ON  T1.[Code] = T0.[Location]   WHERE T0.[Reminder] = (N'Y' )  AND  T0.[RemSented] = (N'N' )  AND  (T0.[RemDate] < (CONVERT(DATETIME, '20100216', 112) )  OR  (T0.[RemDate] = (CONVERT(DATETIME, '20100216', 112) )  AND  T0.[RemTime] <= (1210 ) ))

    Thanks Paulo,
    I found another two queries that also run every minute on each B1 workstation. What is the measurement for the duration number in the log file, like  Duration=1391?
    David
    ============================================================================================
    17/02/2010  11:32:46:620527    SQLMessage    Note           ExecDirectInt     C:\Program Files\SAP\SAP Business One\SAP Business One.exe     PID=1868     TID=3236     Duration=1391     Fetched=21
                                  Query      SELECT T0.[ClgCode], T0.[AttendUser], T0.[Closed], T0.[Recontact], T0.[endDate], T0.[Action], T0.[BeginTime], T0.[ENDTime], T0.[Duration], T0.[DurType], T0.[Details], T0.[Notes], T0.[personal] FROM [dbo].[OCLG] T0 WHERE (T0.[Recontact] >= CONVERT(DATETIME, '20100215', 112)  AND T0.[Recontact] <= CONVERT(DATETIME, '20100221', 112)  )  AND  T0.[endDate] = T0.[Recontact]  AND  T0.[inactive] = (N'N' )  AND  T0.[BeginTime] IS NOT NULL   AND  T0.[ENDTime] IS NOT NULL   AND  (T0.[Action] = (N'C' )  OR  T0.[Action] = (N'M' )  OR  T0.[Action] = (N'N' ) ) AND  (T0.[AttendUser] = (612 ) )  ORDER BY T0.[Recontact],T0.[BeginTime]
    17/02/2010  11:32:54:917455    SQLMessage    Note           ExecDirectInt     C:\Program Files\SAP\SAP Business One\SAP Business One.exe     PID=1868     TID=3236     Duration=487     Fetched=0
                                  Query      SELECT T0.[ClgCode], T0.[AttendUser], T0.[Closed], T0.[Recontact], T0.[endDate], T0.[Action], T0.[BeginTime], T0.[ENDTime], T0.[Duration], T0.[DurType], T0.[Details], T0.[Notes], T0.[personal] FROM [dbo].[OCLG] T0 WHERE (((T0.[Recontact] >= CONVERT(DATETIME, '20100215', 112)  AND T0.[Recontact] <= CONVERT(DATETIME, '20100221', 112)  )  OR  (T0.[endDate] >= CONVERT(DATETIME, '20100215', 112)  AND T0.[endDate] <= CONVERT(DATETIME, '20100221', 112)  ) ) OR  (T0.[Recontact] < (CONVERT(DATETIME, '20100215', 112) )  AND  T0.[endDate] > (CONVERT(DATETIME, '20100221', 112) ) )) AND  T0.[endDate] <> T0.[Recontact]  AND  T0.[inactive] = (N'N' )  AND  T0.[BeginTime] IS NOT NULL   AND  T0.[ENDTime] IS NOT NULL   AND  (T0.[Action] = (N'C' )  OR  T0.[Action] = (N'M' )  OR  T0.[Action] = (N'N' ) ) AND  (T0.[AttendUser] = (612 ) )  ORDER BY T0.[Recontact],T0.[BeginTime]

  • Error declarations for error reporting to the Client

    Hi,
    I am trying to standardize the error reporting from PL/SQL for our project.
    I created a package to define these errors and want to declare them as constants.
    Unfortunately i'm running into some restrictions.
    Option1:
    Declare the ErrCd as a constant (-20000 To -20999) and then use an associative array with the ErrCd as index and the text as the value.
    Option 2:
    Declare a Record type with the ErrCd and ErrText as fields. Associate the errormessage with a position eg errIdx := 1; This will then be the position in the nested table. The procedures will then reference the correct errorRec through the ErrIdx.
    The problem is that i want to do all this in the package spec. I don't want to work through a function to first build up the table and then return the correct error record etc.
    I cannot build the associative array in the declaration since it doesn't have a constructor.
    Nested tables seemed like the one to use since i could build up its content through its constructor. But i cannot construct the errRecord in a similar way.
    SUBTYPE ErrIdxType    IS INTEGER;
      SUBTYPE ErrCdType     IS INTEGER;
      SUBTYPE ErrTxtType    IS VARCHAR2(300);
      ERR_CD_BASE           CONSTANT ErrCdType := -19999;
      ERR_CD_MAX            CONSTANT ErrCdType := -20999;
      TYPE ERR_REC IS RECORD
        errCd   ErrCdType,
        errTxt  ErrTxtType
    -- Error 1 tester
      ERR_ERR1_IDX        CONSTANT ErrIdxType := 1;
      ERR_ERR1_CD         CONSTANT ErrCdType  := ERR_CD_BASE - ERR_ERR1_IDX;
      ERR_ERR1_TXT        CONSTANT ErrTxtType := 'Error ERR1 occured.';
      -- Error 2 tester
      ERR_ERR2_IDX        CONSTANT ErrIdxType := 2;
      ERR_ERR2_CD         CONSTANT ErrCdType  := ERR_CD_BASE - ERR_ERR2_IDX;
      ERR_ERR2_TXT        CONSTANT ErrTxtType := 'Error ERR2 occured.';
      TYPE ErrTableType IS TABLE OF ERR_REC;
    errTable ErrTableType :=
        ErrTableType
          ERR_REC(ERR_ERR1_CD, ERR_ERR1_TXT),
          ERR_REC(ERR_ERR2_CD, ERR_ERR2_TXT)
        );I suppose the java still has a strong grip on me here.
    What is the correct way to manage these error definitions?
    Since i am trying to establish the error/exception handling strategy for the project i would also greatly appreciate a couple of pointers to examples/packages/docs on the error /exception reporting mechanisms available.
    Thanks
    Buks

    That looks like data to me. Now if only PL/SQL had some kind of a database that came with it so you put that data in a table ;)
    Error messages change and so are not good candidates for constants. What you could find useful to declare in a package is some exceptions. You will find more about them in the PL/SQL Guide.
    You should also check this series of Oracle Magazine articles written by Steven Feuerstein (Whom God Preserve).
    Cheers, APC

  • Generating Excel Report from Outlook 2013 for the meetings attended/ accepted

    Hello Team,
    Could you please advise how do I Generate Excel Report from Outlook 2013 for the meetings I attended/ accepted. Also I do I check or figure out the time I spent attending meeting.
    Please help to answer me ASAP.
    Thank you
    Preet

    Hi Preet,
    As far as I know, no features in Office client can generate Excel workbook from Outlook. But we can implement this requirement by macros. If you want to receive more information, I suggest you post this issue on MSDN forum.
    http://social.msdn.microsoft.com/Forums/en-US/home
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share
    their knowledge or learn from your interaction with us. Thank you for your understanding.
    Best regards,
    Greta Ge
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • How to retrieve Task Lists from All Subsites to the Parent Site and display in Grid view using CAML Query

    How to retrieve Task Lists from All Subsites to the Parent Site and display in  Grid view using CAML Query + object model

    do u just want task list or items under task list for all subsites
    for items use spsitedataquery ref
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spsitedataquery.aspx use recursive to get it from alll subsite under site collection
    for tasklist only u can a simply use a for loop to find in all subsite
    Manish Sati

  • How do I remove "DNA Software tethered shooting demo for A99" disclaimer from all my during capture?

    how do I remove "DNA Software tethered shooting demo for A99" disclaimer from all my images during capture?

    I guess the obvious answer is PURCHASE the DNA Software so it won't be a demo unless you have already purchased it and it still won't work and in that case you should contact DNA Software.

  • Print labels for Christmas cards from all Contact cards

    I want to print labels for Christmas cards from all Contacts. It looks like I can print only the active card. Don't see any way to print them all on a labels sheet from Avery

    http://www.podfeet.com/blog/tutorials-5/how-to-create-address-labels-from-osx-co ntacts/

  • My apps wont update! App store says I have 20 updates, when I click update all, they all go in to "Waiting" mode and its been like that for 24 hours now with no sign of updating. Do I have to delete them all and reinstall ?

    I updated my iOS system 2 Days ago. App store says I have 20 updates, when I click update all, they all go in to "Waiting" mode and its been like that for 24 hours now with no sign of updating. Do I have to delete them all and reinstall ? any help much apreciated.

    Snafujafo wrote:
    Dear ED3K:
        First:  I hope you don't work for Apple as you have some poor communication skills in assistance. That said, I would never in a million years pay you 45 dollars to help me. I think I would sleep with Satan first!!
    No one here works for Apple. This is a user-to-user technical support forum. Everyone here is a volunteer. You tend to get from this forum what you bring to it. If you come in ranting and raving and saying you're going to throw your iPhone out the window and that Apple is mean, people are not likely to respond to you with sweetness and light and puppies and kittens.
    If you really want help, I'd suggest you take a deep breath and then start a new thread in which you explain the problems you're having, the steps you've taken to resolve the problems, any error messages you've gotten. Stick to the facts. Check the attitude and emotion at the door. People will do their best to help you.
    Best of luck.

  • REP-1352: The fonts specified for this report cannot be found for the char

    We have migrated all our character reports to oracle 10g - sun solaris machines.
    Now, these reports give us an error....
    REP-1352: The fonts specified for this report cannot be found for the character set specified by NLS_LANG
    Does anyone have suggestions.
    desformat - DELIMITED
    mode - character
    Thanks

    Hi,
    Did you check this DocId:203781.1. I think it will help you problem.
    Moreover does your X-server or vnc server on HP work fine.
    In the past with HP version 11.0 there was always problem with HP x-server. just check that your x-server is runinig will ex. x-clock.
    Cheers,
    Hamdy

  • I am looking for educational posters from Apple or for Garageband, if they exist. I'll be teaching a new class for middle school using Garageband next year. Thanks!

    I am looking for educational posters from Apple or for Garageband, if they exist. My school district will be teaching a new class for middle school using Garageband next year. I'd love to make the rooms look awesome! Can anyone hook me up? Thanks!

    lucky14life wrote:
    first i was wondering what everyone thinks about macbooks compared to let's say another pc like hp,dell,etc.... i have been told that i'd have to be dumb to get a machine with windows vista on it,so that is why i have turned my focus to a macbook because i have heard they are pretty good and worth it...
    I personally like my MacBook better than any other computer I have ever owned. I like being able to use windows when I need to but not being tied to it. My wife bought an HP with Vista and it doesn't seem to bad. Lots of updates at least one a week. Mostly graphic card drivers update.
    also is it true that if you upgrade let's say the memory,hard drive,etc it won't be covered in the warranty/apple care plan??
    Only two things you can upgrade on a MacBook is the Hard drive and Memory. It will not void the warranty. This is apples word on it. DIY Warranty Info
    I would just like to ask for people's opinions please on purchasing one of these i am currently a senior in college and will be using it next year for grad school,need to replace the one i currently have...
    Be sure you can live with the graphics. If you do a lot of graphics work you might want to consider the MacBook Pro. I use my MacBook for video editing using Final Cut Express HD and it works well. The MB is also not very good for gaming if you are into that. The integrated chip set doesn't work well with 3D games.
    also any other ideas on getting iwork or office, a hard plastic case or a skin,thanks alot for anyone's input it is greatly appreciated.... i am looking to get one once leopard comes out thanks!!
    Depending on your school may be a factor in what you choose. I use iWork and it is pretty good. You could also try NeoOffice or Open Office. They are good also. Office is supposed to be coming out with a new Mac version but not sure yet how it will work.
    Be sure to ask for the student discount when you purchase the computer and software. It adds up.

  • I am from India using my iphone4 with Vodafone and  firmware version 5.0.1(9A405). I am unable to access 3G from my device as the CELLULAR DATA NETWORK option in the settings is missing. Any methods or options for fixing the same????

    I am from India using my iphone4 with Vodafone and  firmware version 5.0.1(9A405). I am unable to access 3G from my device as the CELLULAR DATA NETWORK option in the settings is missing. Any methods or options for fixing the same????

    I am from India using my iphone4 with Vodafone and  firmware version 5.0.1(9A405). I am unable to access 3G from my device as the CELLULAR DATA NETWORK option in the settings is missing. Any methods or options for fixing the same????

  • I would like to disconnect the authorize from all computers , because i have five and i lost two. pleaes i want disconnect all  authorize becaues i need more.

    i would like to disconnect the authorize from all computers , because i have five and i lost two. pleaes i want disconnect all  authorize becaues i need more.

    If you no longer have the computer(s) you want to deauthorise,
    Log in to iTunes,  go to "view your account info" on the itunes store,  deauthorise all five, (Please Note: this can only be done Once every 12 months)  and then re-authorize your current Computer(s) one at a time.
    Authorise / Deauthorise About
    http://support.apple.com/kb/HT1420

  • Good day all, I am having trouble installing the latest version of Itunes on my desktop. I receive a message that sttates the older version not be removed and then the installation process is aborted. I am running windows

    Good day all, I am having trouble installing te latest version of Itunes on my computer.
    When it is installing I get a message that states "the older version of Itunes can not be removed."
    Then the installations process is aborted.

    Download the Windows Installer CleanUp utility from the following page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    To install the utility, doubleclick the msicuu2.exe file you downloaded.
    Now run the utility ("Start > All Programs > Windows Install Clean Up"). In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • Since upgrading to ios5 doesnt play music from my playlists allthough songs are installed, and some of the applications are crashing

    since upgrading to ios5 on my iphone4 does not play music (ipod) from my playlists allthough songs are installed, and some of the applications are crashing

    Okay, mine now works here is what I did.
    plug in the iPhone, iPad etc
    in iTunes select the phone or iPad
    Under Summary uncheck "Sync with this....."
    Under "Music" uncheck the "Sync Music"
    Let it remove all the songs, dont worry it will come back no problems.
    Once that is all done all the music on the phone or ipad should be gone.
    Now check them both back on and everything should copy back onto it.
    Working now !!!!!

  • Im resetting all settings on my iphine 5s and its taken an hour already

    Im resetting all setting on my iphone 5s and its take over an hour alreadys , not factory reset , just all settings , my phone is not jailbroken

    Please can anyone help me with this. Phone is totally unresponsive

Maybe you are looking for

  • Automatically populating Assignment Field from Customer Invoice Reference

    Dear All I have a situation. I want when a customer invoice is posted the invoice reference mentioned in the Reference field of the document Header should automatically be populated into assignment field Can any one tell me how to get this situation

  • Kerberos won't start

    I have been trying to make this work for 2 days and am about ready to throw the whole system out a window. Here is what I've got: PowerMac G5 10.5.6 Server all updates Server is also an internet gateway which I've learned can impair the OD setup DNS

  • Configuring WCF-SAP for RFC Call

    Hi, I want help in configuring the WCF-SAP adapter in a receive port. I have done configuration set like below: But when SAP calls RFC then I am getting below error in application log: Thanks, Girish R. Patil.

  • Import po sub contract item

    Hi all, for import purchase order item category sub contracting is there any dependencies plz give me details regards, sasi

  • Re-execute View SQL after DML

    Hi everyone, I am displaying a selectable list of records on a page. Upon selection of any of the records users are forwarded to an edit page where they can perform a DML operation on the selected row. If they commit the changes I want to re-execute