?
Solved

Create SCCM 2007 Query for MS office 2007

Posted on 2014-01-27
1
Medium Priority
?
930 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

Article by: Leon
Software Metering within our group of companies has always been an afterthought until auditing of software and licensing became a pain point. Orchestrator and SCCM metering gave us the answer and it was an exciting process.
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

770 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