Many of you are way more into tricky Windows things than I am, so I thought it 
would be worth asking this here.

In my Windows 10 I can run this line in PowerShell:

Get-WmiObject -Query "SELECT * FROM Win32_ComputerSystem”

It echos a few lines of information about my system. When I try the same on a 
customer’s machine I get this:

Get-WmiObject : Invalid class "Win32_ComputerSystem"
At line:1 char:1
+ Get-WmiObject -Query "SELECT * FROM Win32_ComputerSystem"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidType: (:) [Get-WmiObject], 
ManagementException
    + FullyQualifiedErrorId : 
GetWMIManagementException,Microsoft.PowerShell.Commands.GetWmiObjectCommand


What is Win32_ComputerSystem, and what could make it be invalid?


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to