This repository has been archived by the owner on Jan 14, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 843
README_Check RemoteOfficeVersions
Russell Smith edited this page Jul 22, 2016
·
2 revisions
#Check Remote Office Versions
This PowerShell Function will query the local or remote workstations to find the version of Office that is installed.
###Pre-requisites
- Remote Windows Management Instrumentation (WMI) connectivity and permissions to any remote computers you are querying.
###Examples
-
Open a PowerShell console.
From the Run dialog type PowerShell
-
Change directory to the location where the PowerShell Script is saved.
Example: cd C:\PowerShellScripts
-
Run the Script. With no parameters specified the script will return the locally installed Office Version.
Type . .\Get-OfficeVersion.ps1 Press Enter and then if Microsoft Office is installed locally it should display. By including the additional period before the relative script path you are 'Dot-Sourcing' the PowerShell function in the script into your PowerShell session which will allow you to run the function from the console.
-
Run the Script against a remote computer.
Type Get-OfficeVersion -ComputerName Client01
-
Run the Script against multiple remote computers.
Type Get-OfficeVersion -ComputerName Client01,Client02
Copyright © 2015 Microsoft Corporation - Project is released under the terms of the MIT License
Home
New Scripts
Completed Scripts
- Office-ProPlus-Deployment
- Office-ProPlus-Information
- Office-ProPlus-Management
- Office-ProPlus-Preparation
- Office-ProPlus-Updates
Information