Solved

Create SCCM 2007 Query for MS office 2007

Posted on 2014-01-27
1
823 Views
Last Modified: 2014-02-13
I need to create a Query to find all Office 2007 machines inside of my environment.  

This query needs to have

Last logon on time
Last person Log on
0
Comment
Question by:JCJohnson76
1 Comment
 
LVL 31

Accepted Solution

by:
merowinger earned 500 total points
ID: 39850486
This query will deliver mulitple Office 2007 products like Visio, Project, etc. so you just have to exclude them like "Proof" or "Service Pack" if you don't need them in the list
SELECT SYS.Name0, APP.DisplayName0 , SYS.Last_Logon_Timestamp0, Sys.User_Name0 
FROM v_Add_Remove_Programs APP
INNER JOIN v_R_System SYS ON SYS.ResourceID = APP.ResourceID 
WHERE 
APP.DisplayName0 LIKE '%Microsoft Office % 2007%'
and
(APP.DisplayName0 NOT LIKE '%Update%'
and APP.DisplayName0 NOT LIKE '%Service Pack%'
and APP.DisplayName0 NOT LIKE '%Proof%'
and APP.DisplayName0 NOT LIKE '%MUI%'
and APP.DisplayName0 NOT LIKE '%Language%'
and APP.DisplayName0 NOT LIKE '%Help%'
)
Order By APP.DisplayName0 ,SYS.Name0

Open in new window

0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Free software for creating ISO files of USB drives 9 102
encryption on machine 7 84
vsphere6 installation and deployment type and other questions 2 66
SQL 2016 licensing 6 50
MS Access 2003 or later To MySQL Migration Project Hello All, this is my second article in the category of MS-OFFICE Automation. In internet I am not able to find any comprehensive resource on the Migration of MS Access back-end to MySQL so I fin…
The System Center Operations Manager 2012, known as SCOM, is a part of the Microsoft system center product that provides the user with infrastructure monitoring and application performance monitoring. SCOM monitors:   Windows or UNIX/LinuxNetwo…
Viewers will learn the different options available in the Backstage view in Excel 2013.
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question