Win32_OperatingSystem class missing RRS feed

  • Question

  • I have a Windows 7 machine, and when I try to run "Get-WmiObject Win32_OperatingSystem", i get the following error:

    Get-WmiObject : Invalid class
    At line:1 char:14
    + Get-WmiObject <<<<  Win32_OperatingSystem
        + CategoryInfo          : InvalidOperation: (:) [Get-WmiObject], ManagementException
        + FullyQualifiedErrorId : GetWMIManagementException,Microsoft.PowerShell.Commands.GetWmiObjectCommand

    I have used the -list option and this class is not listed. Any ideas why it would be missing or how I could get it back? I need this for my powershell script to work.


    Wednesday, October 23, 2013 4:43 PM


All replies