Hey @silvio_sln,
From the looks of the error message, it might also be a resource problem. It may be worth checking the Task Manager Performance tab (or Resource Monitor) to ensure you are not running out of memory, so there would be no spare to allocate for the WMI query.
Thanks!
Giacomo
Please keep in mind that what I post here is my personal knowledge and opinion. Don't take anything I say for the Holy Grail, but try and see!
Appreciate who helps and be respectful of every opinion and every solution offered.
Share the love, especially the Meraki one!