OfficeDev / Office-IT-Pro-Deployment-Scripts

A collection of useful PowerShell scripts to make deploying Office 2016 and Office 365 ProPlus easier for IT Pros and administrators. If you have any feature requests or ideas for future scripts please add the idea to the issues list in this repository
http://officedev.github.io/Office-IT-Pro-Deployment-Scripts
MIT License
882 stars 838 forks source link

Get-OfficeAddins not updating with changes #308

Open kepplemw opened 6 years ago

kepplemw commented 6 years ago

As a test, we've deployed Get-OfficeAddins to a group of QA users. As part of their testing they are changing the load behavior of some addins, rerunning the PS script, and rerunning HW inventory to ensure the data in the reports updates with the new, correct info. After doing this, the data in the reports still reflect old data. New deployments to new machines work fine.

We are intending to deploy this to run once (rather than use the scheduled task option), but it is entirely possible we will want to rerun this package in order to establish a new baseline.

kepplemw commented 6 years ago

Fixed this in my environment. Get-OfficeAddins is missing the following: $instance.Put()

on line 281

mbeck0077 commented 6 years ago

kepplemw - any other tweaks you had to make to get this script to work? Trying to figure out what takes it so long to run.