Solved

Create SCCM 2007 Query for MS office 2007

Posted on 2014-01-27
1
792 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

Do email signature updates give you a headache?

Do you feel like all of your time is spent managing email signatures? Too busy to visit every user’s desk to make updates? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today!

Join & Write a Comment

Many companies are making the switch from Microsoft to Google Apps (https://www.google.com/work/apps/business/). Use this article to learn more about what Google Apps has to offer and to help if you’re planning on migrating to Google Apps. It is …
This collection of functions covers all the normal rounding methods of just about any numeric value.
Viewers will learn the different options available in the Backstage view in Excel 2013.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

706 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now