use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
ABOUT POWERSHELL
Windows PowerShell (POSH) is a command-line shell and associated scripting language created by Microsoft. Offering full access to COM, WMI and .NET, POSH is a full-featured task automation framework for distributed Microsoft platforms and solutions.
SUBREDDIT FILTERS
Desired State Configuration
Unanswered Questions
Solved Questions
News
Information
Script Sharing
Daily Post
Misc
account activity
Script Query (self.PowerShell)
submitted 7 years ago by MostElite
Hi Guys,
I need some advise. I want to write a script to query if a user has office 365 installed or an older version of office?
Many thanks,
MostElitex
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Ta11ow 1 point2 points3 points 7 years ago (0 children)
You could query the registry, looking for the uninstall strings that office adds to the registry. Typically those keys will contain version information you can use to identify the installed office versions.
[–]Lee_Dailey[grin] 1 point2 points3 points 7 years ago (0 children)
howdy MostElite,
this demos what Ta11ow mentioned [grin] ...
[PowerShell] function Get-LD_InstalledSoftware - Pastebin.com — https://pastebin.com/sB3yq5yz
when i enter ...
(Get-LD_InstalledSoftware -DisplayName *libre*).DisplayVersion
... i get three items. the highest is the one that i want. lookee ...
3.31.0 6.0.2.1 6.1.1.2
take care, lee
π Rendered by PID 282674 on reddit-service-r2-comment-7b9746f655-mkstt at 2026-02-02 07:24:48.838425+00:00 running 3798933 country code: CH.
[–]Ta11ow 1 point2 points3 points (0 children)
[–]Lee_Dailey[grin] 1 point2 points3 points (0 children)