?
Solved

Create SCCM 2007 Query for MS office 2007

Posted on 2014-01-27
1
Medium Priority
?
995 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 1500 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Hello, As I have seen there a lot of requests regarding monitoring and reporting for exchange 2007 / 2010 / 2013 I have decided to post some thoughts together and link to articles that have helped me. Of course a lot of information you can get…
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…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Suggested Courses

862 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