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 LICENSE NUMBERS, ACTIVATION 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.
This topic is 7 years and 8 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
russrimm
Posts: 10
Last visit: Thu Jan 23, 2020 8:25 am

gwmi causes wmi browser to start slowing things down

Post by russrimm »

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
DevinL
Posts: 1098
Last visit: Tue Jun 06, 2017 9:15 am

Re: gwmi causes wmi browser to start slowing things down

Post by DevinL »

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.
This topic is 7 years and 8 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.