Powershell WMI query returns nothing after V2V from ESX to Hyper-V

Posted on 2011-05-04
Last Modified: 2012-05-11
After a recent migration of a DC that my company has from ESX 2.5 to Hyper-V(Non-R2) using SCVM, a powershell script to get drive capacity fails when it gets to the server in question. The DC is up and pingable and can RDP to it via console and RDP client. All other servers the list report their hard drive capacity's back to the query. Further more running a pretty basic gwmi Win32_Bios -Computername <DCInQuestion> | fl , just sits there and returns nothing. No errors, no warnings, no output nothing. Any insight would be apperciated. The DC in question is 2003 SP2 Ent.
Question by:Exchangely_Challenged
    1 Comment
    LVL 28

    Accepted Solution

    Try to repair the WMI repository and reregister WMI:

    but I'd rather rename the repository directory than delete it.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
    VM backup deduplication is a method of reducing the amount of storage space needed to save VM backups. In most organizations, VMs contain many duplicate copies of data, such as VMs deployed from the same template, VMs with the same OS, or VMs that h…
    Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
    Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now