Skip to content
This repository has been archived by the owner on Jan 14, 2021. It is now read-only.

README_Check ForModernOfficeApps

Russell Smith edited this page Jul 22, 2016 · 3 revisions

#Check for Modern Office Apps

List the Modern Office apps installed on the local or remote computers

###Pre-requisites

  1. Remote Windows Management Instrumentation (WMI) connectivity and permissions to any remote computers you are querying.

###Examples

####Check for modern apps installed on all computers in the domain:

  1. Open a PowerShell console.

         From the Run dialog type PowerShell
    
  2. Change the directory to the location where the PowerShell Script is saved.

         Example: cd C:\PowerShellScripts
    
  3. Run the script. With no parameters specified the script will return the locally installed Office Version.

        Type . .\Get-ModernOfficeApps.ps1
    
        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 'Get-ModernOfficeApps' from the console.
    

####Check for modern apps installed on specified computers:

  1. Open a PowerShell console.

         From the Run dialog type PowerShell
    
  2. Change the directory to the location where the PowerShell Script is saved.

         Example: cd C:\PowerShellScripts
    
  3. Run the script with specified computers.

        Type . .\Get-ModernOfficeApps.ps1 -ComputerNames "Computer1,Computer2"
    

Analytics