IN NEED OF A SCCM 2012 QUERY THAT SHOWS LAST TIME SOFTWARE WAS USED OR OPENED

Hello
I am in need of an SCCM 2012 query that shows PCs that have Visio , Adobe Professional and Visual Studio and the last time each was used or opened. I have the query below which give me the PC name and the product. Any assistance will be very helpful
select distinct SMS_R_System.NetbiosName, SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName from SMS_R_System inner join SMS_G_System_ADD_REMOVE_PROGRAMS on SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceID = SMS_R_System.ResourceId where SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName
like "%adobe acrobat%pro%"
select distinct SMS_R_System.NetbiosName, SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName from SMS_R_System inner join SMS_G_System_ADD_REMOVE_PROGRAMS on SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceID = SMS_R_System.ResourceId where SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName
like "%visio%" and SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName not like "%viewer%" and SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName not like "%service pack%" and SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName not like "%security
update%" and SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName not like "%hydra%" and SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName not like "%update%" and SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName not like "%MUI%" and SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName
not like "%amd%" and SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName not like "%microsoft visio%" and SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName not like "%vision%" and SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName not like "%add-in%"
select distinct SMS_R_System.NetbiosName, SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName from SMS_R_System inner join SMS_G_System_ADD_REMOVE_PROGRAMS on SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceID = SMS_R_System.ResourceId where SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName
= "Microsoft Visual studio 2012 devenv" and SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName not like "%hotfix%" and SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName not like "%security%" and SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName
not like "%update%" and SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName not like "%service%"

Did you create a software metering rule for each software title? if not then you need you do that first and it will take over a week before you see results.
Also keep in mind that your query will only find x86 software titles.
http://www.enhansoft.com/

Similar Messages

  • SCCM 2012 QUERY THAT SHOWS SOFTWARE INSTALLED AND LAST TIME IT WAS USED OR OPENED

    Hello
    I am in need of an SCCM 2012 query that shows PCs that have Visio , Adobe Professional and Visual Studio and the last time each was used or opened. I have the query below which give me the PC name and the product. Any assistance will be very helpful
    select distinct SMS_R_System.NetbiosName, SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName from SMS_R_System inner join SMS_G_System_ADD_REMOVE_PROGRAMS on SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceID = SMS_R_System.ResourceId where SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName
    like "%adobe acrobat%pro%"
    select distinct SMS_R_System.NetbiosName, SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName from SMS_R_System inner join SMS_G_System_ADD_REMOVE_PROGRAMS on SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceID = SMS_R_System.ResourceId where SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName
    like "%visio%" and SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName not like "%viewer%" and SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName not like "%service pack%" and SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName not like "%security
    update%" and SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName not like "%hydra%" and SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName not like "%update%" and SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName not like "%MUI%" and SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName
    not like "%amd%" and SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName not like "%microsoft visio%" and SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName not like "%vision%" and SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName not like "%add-in%"
    select distinct SMS_R_System.NetbiosName, SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName from SMS_R_System inner join SMS_G_System_ADD_REMOVE_PROGRAMS on SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceID = SMS_R_System.ResourceId where SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName
    = "Microsoft Visual studio 2012 devenv" and SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName not like "%hotfix%" and SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName not like "%security%" and SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName
    not like "%update%" and SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName not like "%service%

    See me reply to your other post with the exact same details, in the CM07 forum.
    http://www.enhansoft.com/

  • SCCM 2012 Report that shows the users with specific software installed

    Hi,
    Is there a report in SCCM 2012 that shows the users with specific software installed? The report should show username, machine name and the software name. I am looking for a report that shows the users with the following softwares installed:
    1. Adobe(all versions)
    2. Photoshop(all versions)
    3. MS Project(all versions)
    4. MS Vision(all versions)
    Regards, Lorin Davis

    Take a look at the Asset Intelligence reports in the software section. You may get a list of computers with a product installed, and you might have to use that list to find the primary users based on user device affinity.

  • Query to show last time a query was run

    I am trying to write a query that will show me the last date/time a specific query was run. I have looked into v$sql and I can find the query, but from what I can tell it does not show the last time the query was executed.

    Hi,
    use v$sqlarea instead of v$sql and look at the column last_active_time. See also the documentation (docs.oracle.com/cd/E11882_01/server.112/e40402/title.htm) on the dynamic performance views in the database.
    You will get more answers, however, if you put your question to the forum Oracle Database > SQL and PL/SQL .
    Regards,
    Gudrun Pabst

  • SCCM 2012 and .PCK files - how exactly are they used?

    Ok, no one, not even Microsoft engineers can seem to provide a clear and definitive answer on this topic, everyone's understanding of the .PCK file with relation to SCCM 2012 is clear as mud.
    I understand what .PCK files are...in the SCCM 2007 world, and how they work, all that jazz, what I don't understand is how/when/why they would be used by SCCM 2012...it seems that sccm 2012 would only need these .pck files during a reassignment of a shared
    DP in a migration scenario...even that surmise is sketchy since I've watched very closely the DP content conversion process and at
    no time did the server access the .PCK files to populate the single instance store.
    I am going to do some more testing on my own, my ultimate goal is to permanent delete the contents (not the folder itself) of the SMSPKG folder, essentially all the .PCK and .DL$ files to save space on my server.
    If any soul out there knows..not guesses...the purpose of the .PCK file in 2012, let me know please, don't just copy/paste other people's posts as an answer, explain in clear terms each step of the process that 2012 would utilize a .PCK, or if the answer
    really is that 2012 does not use .PCK files at all, let me know.
    I have a single primary site with 16 secondary sites in my SCCM 2007 environment, I'm migrating to a single primary with 16 distribution points...so even if .PCK's are used to populate secondary sites, I should not need them since I won't have any secondary
    sites once all of my DP's are migrated...yeah?
    Thanks!
    Terry

    Thanks for the reply Torsten, that would make sense if my primary site had any .pck files at all (my sccm 2012 site that is) only my DP's have .pck files. I have no child sites in my 2012 hierarchy unless DP's are child sites (I thought secondary sites are
    child..) When my DP's require a package they get them from my primary site, not other DP's. I have no 'Pull' DP's setup.
    If SCCM 2012 uses a 'single instance store', which contains 3 folders itself that seem to contain compressed versions of the package files, then there should be no need for another folder that also contains compressed files...just a thought.
    Terry

  • Query that show total discount on A/R Invoice

    Dear all,
    I would like to have query that show summary of each invoice number that show 'Total of discount'  ( 'Total of discount' = total of discount in line item + discount of total invoice ). Data that I would like to show on this query is as follow :
    Invoice No, Invoice Date, Customer Code, Total before discount, 'Total of discount',  Total Amount, Vat amount
    Please kindly suggest the way to get this data.
    Thanks you in advanced.
    Angnam

    Hi Angnam K,
    Try This one...hope this will serve your purpose.
    SELECT  DocEntry, DocNum,   CardCode, CardName, DocDate, [Total Before Discount] , [Totaldiscount]+  [OinvDiscount] as [Total of discount], VatSum [Total Tax]      FROM (
    SELECT T0.DocEntry,T0.[DocNum], T0.[DocDate], T0.[CardCode], T0.[CardName], SUM(T1.[LineTotal])[Total Before Discount],
    SUM(T1.[PriceBefDi] * T1.Quantity *T1.[DiscPrcnt])/100 as [Totaldiscount]
    ,Case When T0.[DiscPrcnt] <> 0 Then  (SUM(T1.[LineTotal])/ T0.[DiscPrcnt]) Else 0 end [OinvDiscount] ,T0.VatSum
    FROM OINV T0  INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry
    Group By T0.DocEntry,T0.[DocNum], T0.[DocDate], T0.[CardCode], T0.[CardName], T0.[DiscSum] ,T0.[DiscPrcnt],T0.VatSum )Sales
    thanks,
    Kumar
    Edited by: itskumaramit on Jul 13, 2011 12:43 PM

  • Updates Publisher 2011 + SCCM 2012 - no signing certificate every time (Bug?)

    Hello everybody,
    I got a strange problem with the System Center Updates Publisher 2011 which I want to use with SCCM 2012 (SP1).
    Some weeks ago I was able to enable the publishing on the update server (SCUP + SCCM + WSUS are the same machine), to create a self signed certificate and to astablish the connection to the WSUS server.
    Some weeks later the SCUP seems to "forgot" the certificate and the option "Enable publishing to an update server" is disabled.
    If I try to reactivate this option then I can not create a new self signed certificate anymore.
    I get always the "... test connection succeeded. However, no signing certificate was detected ..." dialog.
    I also can not choose the existing certificate (.pfx) file ("No certificate information available").
    Is this a bug?
    Can I deinstall the SCUP completely and create a new certificate again?

    Did you open SCUP as administrator? But Yes, you can reinstall SCUP and create another cert or use the existing cert.
    Kent Agerlund | My blogs: blog.coretech.dk/kea and
    SCUG.dk/ | Twitter:
    @Agerlund | Linkedin: Kent Agerlund |
    Mastering ConfigMgr 2012 The Fundamentals

  • I reset my iPhone 5s yesterday because my fingerprint bottom is not working. It says that failed every time I was trying to put my print... Now that I reset my phone the fingerprint pass code do not appear in the setting.

    I reset my iPhone 5s yesterday because my fingerprint bottom is not working. It says that failed every time I was trying to put my print... Now that I reset my phone the fingerprint pass code do not appear in the setting.

    Hi Emilemny,
    Welcome to Apple Support Communities.
    The TouchID settings will not be available until you create a passcode, see the article linked below for more information.
    iPhone 5s: Using Touch ID
    http://support.apple.com/kb/HT5883
    You can set up Touch ID in iOS Setup Assistant or by tapping Settings > Touch ID & Passcode. To set up Touch ID, you must first set a passcode. Touch ID is designed to minimize the input of your passcode, but you need a passcode for additional security validation, such as enrolling new fingerprints.
    -Jason

  • I bought an iPhone at september 2011 but it has been replaced twice, and the last time it was replaced was on February 2012... My question is till when is my warranty activated ???

    I bought an iPhone at september 2011 but it has been replaced twice, and the last time it was replaced was on February 2012... My question is till when is my warranty activated ???

    Your 1 year warranty starts the date of purchase of the original device. If the device is replaced that original warranty stays the same on the new device. Each replacement does come with a 90 day warranty. So if you're out of that original 1 year warranty... you will be covered for atleast 90 days on your replacement device.

  • TS2518 Help, I had aperture open and working on a image and did not have a battery in and bumped the power off. As a result it will not open my master, it is locked. when I try to open that Library  it says There was an error opening the database for the

    Help, I had aperture open and working on a image and did not have a battery in and bumped the power off. As a result it will not open my master, it is locked. when I try to open that Library  it says There was an error opening the database for the library. I have tried every thing. I updated the other libr but now it will not open the main to update. What do I do?

    Try starting Aperture with the command and option keys held down.  You'll get 3 options.
    Try each, starting at the top, in order, checking after each to see if it fixes the issue.

  • I recently purchased a new Mac Pro and have been trying to back it up on my Time Capsule for the first time.  However, it says there is no available disk space. This time capsule was used with my old Mac Pro that had a Home vault open on it.

    The time capsule was used with my prior Mac Pro laptop that unfortunately had the home vault active on it.
    My new Mac Book Pro does not have home vault open.  But I am unable to back up my new MAC pro laptop because it says there is not enough storage space available.  Therefore, t there any way to just completely delete all the old backup data out of my Time Capsule from my prior Mac Laptop? 
    When I go into the time capsule - it shows me NOTHING as being in the backup datas.  So, I don't know where to begin to delete all the old data off the
    time Capsule and start with a completely empty machine. 

    Therefore, t there any way to just completely delete all the old backup data out of my Time Capsule from my prior Mac Laptop?
    Here is how to do this:
    Open Macintosh HD > Applications > Utilities > AirPort Utility
    Click Manual Setup
    Click the Disks icon at the top of the AirPort Utility window
    Click the Disks tab below the icons
    Click Erase
    The "Quick Erase" option will only take a moment or two
    Now you can backup your MacBook Pro. If you connect an Ethernet cable from the MBP to one of the LAN <-> ports on the TC, the first backup will go 3-5 times faster than wireless.
    Once you have the first backup done, you can use wireless for subsequent backups since they will only take a few minutes

  • HT1925 I was trying to make sure that all my Apple software was uninstalled, and I still can't remove C:\Program Files\iPod\.  I went to the Task Manager and it is not listed in the Processes tab.  What do I do now?

    I was trying to make sure that all my Apple software was uninstalled, and I still can't remove C:\Program Files\iPod\.  I went to the Task Manager and it is not listed in the Processes tab.  What do I do now?

    Are you looking for iPodService.exe?
    Might be better to run services.msc from the run dialog and shut down the service polietly.
    tt2

  • Before the most recent iPad upgrade, when listening to audiobook, I could tap a rewind symbol (circle with arrow) that replayed last 30 seconds - was this function removed?  It is still on the iPhone.

    Before the most recent iPad upgrade, when listening to audiobook, I could tap a rewind symbol (circle with arrow) that replayed last 30 seconds - was this function removed?  It is still on the iPhone.  

    Before the most recent iPad upgrade, when listening to audiobook, I could tap a rewind symbol (circle with arrow) that replayed last 30 seconds - was this function removed?  It is still on the iPhone.  

  • WQL Query SCCM 2012: computers that need specific article or bulletin.

    Hi!
    I need a
    query
    that returns the
    computers that
    require
    a specific bulletin
    or
    article.
    Example:
    MS14-080
    Example:
    article
    2687455

    Thank you all so much
    Nick
    Pilon,
    Eswar
    Koneti
    and
    Xin
    Guo!
    I need a
    WQL
    query
    because
    my
    report server
    is not working.
    At the moment
    I can't
    repair
    it.
    A
    WQL
    query
    solves
    my problem.
    I know that the Log SMSProv returns results of tasks that run in graphical mode.
    I did it with the query shown in the attached image and found the following Query to the log.
    I used the Query found in the log, but I can’t edit it to show the name of the 95 PCs found.
    I need to know who
    are the
    95
    PCs that
    need the
    article
    2687455
    in the
    "All
    Software
    Updates". My Report don't work.

  • SCCM 2012 Query to find units with IPv6 Enabled?

    We've found a need to locate computers that may have IPv6 enabled for audit purposes, and then we'll disable them at a later date.
    Has anyone been able to create a successful query in SCCM 2012 to get that information? 
    I found this but it spit back the IPv4 info for all the units in our device collection, plus it's for SCCM 2007. http://www.myitforum.com/forums/Query-for-systems-with-IPv6-enabled-m227020.aspx
    Appreciate any input, thanks!
    This topic first appeared in the Spiceworks Community

    If you're using % in the value field the operator must be "Like" . In your case, the query should look like
    select SMS_R_USER.ResourceID,SMS_R_USER.ResourceType,SMS_R_USER.Name,SMS_R_USER.UniqueUserName,SMS_R_USER.WindowsNTDomain from SMS_R_User where SMS_R_User.UserPrincipalName Like
    "TQA%" order by SMS_R_User.UserPrincipalName
    Kindly mark as answer/Vote as helpful if a reply from anybody helped you in this forum. Delphin

Maybe you are looking for

  • Share: File already exists. It doesn't: Won't Replace

    FCPX 10.0.9 OSX 10.7.5 Never had any trouble exporting before.  Share---- Export File----- (select location as the 1tb HD)- fcpx says file already exists, do you want to replace?  Hit Replace, and it just cycles the same error, until cancelled. Does

  • Business catalyst won't open in dreamweaver

    When I click the Get Started button or try to open a New Business Catalyst site from the site menu, the dialog box flashes but nothing else happens. I can open it on my other computer, but on my laptop. it's not working. Is there a setting I need to

  • Network/Shared Printer on PC

    I purchased a MacBook Pro about 2 weeks ago. I was able to connect to my wireless network and my PC computer (Sony Vaio). I added a printer to my MacBook (shared on the Vaio). Printing worked beautifully, I was able to access shared folders located o

  • Is it possible to get the 2nd line in a bulleted list item to indent?

    This just looks so terrible! http://pcmcu.avastonetest.com/virtual_branch.html I did choose to indent the bullet more than normal, but even by default they never indent, do they?

  • Security and Control - Creation of ORG Roles

    Hi I have created an organization role against one functional role by adding the objects containing org elements only which are falling in that functional role. Now as per the rule it should a user will have one functional role attached and one respe