Quantcast
Channel: Windows 7 Miscellaneous forum
Viewing all articles
Browse latest Browse all 11372

Get-WmiObject -Namespace root\wmi -Class wmiMonitorID : Incompatible ?????

$
0
0

Hi,

I'm working with a powershell script and this instruction usually works well:

Get-WmiObject -Namespace root\wmi -Class wmiMonitorID 

But in one pc it doesn't... the message is:

Get-WmiObject : Incompatible 

+     $ActiveMonitors = Get-WmiObject <<<<  -Namespace root\wmi -Class wmiMonitorID
+ CategoryInfo          : InvalidOperation: (:) [Get-WmiObject], ManagementException
+ FullyQualifiedErrorId : GetWMIManagementException,Microsoft.PowerShell.Commands.GetWmiObjectCommand

The OS is W7, .NET is 4.0,,,, I cant't find anything about it.

Any idea? Thanks!!



Viewing all articles
Browse latest Browse all 11372

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>