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 PS script taking 20-30minutes, taking 25-50% CPU #307

Open kepplemw opened 6 years ago

kepplemw commented 6 years ago

Not sure if anyone else is experiencing this, but we've deployed the Get-OfficeAddins solution as a package/program and, when running from software center, it takes roughly 20-30m to complete taking up a whole core. It does eventually finish and does reflect the correct info. We've seen this across the board in our testing. Checking to see if it's something in our environment, if this is something others are seeing, or if this is the expectation. Just seems a little intense for what it's doing. Thanks!

Meta: Windows 10 Enterprise 1703 HP 840 G3s (Kaby Lake i5, 16gb ram, 256gb NVME, ) Office 365 2013 [15.0.5007.1000]and 2016[16.0.8201.2258] (32-bit and 64-bit)

mbeck0077 commented 6 years ago

We're seeing the same or similar. Not sure where the script is getting hung up at. But it just runs for a long time consuming quite a bit of CPU.