gwmi causes wmi browser to start slowing things down

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
User avatar
russrimm
Posts: 10
Joined: Sun Mar 03, 2013 12:46 pm

gwmi causes wmi browser to start slowing things down

Post by russrimm » Wed Aug 10, 2016 7:31 pm

Product, version and build:5.2.127.0
32 or 64 bit version of product:64 bit
Operating system:Windows 10
32 or 64 bit OS:64 bit
PowerShell Version:5.0

Hello all,

Whenever I add get-wmiobject to my script, I've noticed the output window suddenly starts saying things like "WMI Browser: (\\.\Root\blah) Access denied" over and over and it goes through every wmi class and completely slows down my Powershell Studio responsiveness when this happens. How do I stop this from happening whenever I use gwmi?

TIA

User avatar
DevinL
Site Admin
Posts: 1098
Joined: Mon Aug 17, 2015 2:25 pm

Re: gwmi causes wmi browser to start slowing things down

Post by DevinL » Thu Aug 11, 2016 10:32 am

I'm currently unable to reproduce this. I have a script that uses Get-WmiObject to update user permissions and I don't have any messages in the Output Panel.

Are you able to provide the exact steps of what you do to make this occur? Do you run the script and then the messages start?
DevinL
SAPIEN Technologies, Inc.