×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Group Policy WMI filter for Office/Outlook version

Group Policy WMI filter for Office/Outlook version

Group Policy WMI filter for Office/Outlook version

(OP)
I've used WMI filters for various things successfully but am struggling with trying to get one to work for finding the version of Office (or more specifically Outlook) so that a GPO only applies if a specific version Office/Outlook is installed.

Google hasn't helped much. About the closest I've come is:

CODE -->

SELECT * FROM Win32_Product WHERE (Caption LIKE "Microsoft Office %2013%") 

but the GPO doesn't apply and when I run:

CODE --> Powershell

gwmi -query 'SELECT * FROM Win32_Product WHERE (Caption LIKE "Microsoft Office %2013%")' 

in Powershell it just hangs and doesn't give any result.

Any ideas how to get a WMI filter to do this?

RE: Group Policy WMI filter for Office/Outlook version

You are trying too hard. Microsoft has this already done for you, you just need to install the templates into your AD.
Office 2013 Administrative Template files (ADMX/ADML) and Office Customization Tool

I hope that helps.

Regards,

Mark

No trees were harmed in posting this message, however a significant number of electrons were terribly inconvenienced.

Check out my scripting solutions at http://www.thespidersparlor.com/vbscript

Work SMARTER not HARDER.

RE: Group Policy WMI filter for Office/Outlook version

(OP)
I don't want to apply settings for Outlook which is what those ADMX files do. I want to do something (install an application) depending on whether Outlook 64-bit is installed but do something different (install a different application) if Outlook 32-bit is installed.

How can I use WMI filtering to find what version is installed? Once I've found out I can then install the required application.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close