[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 789
  • Last Modified:

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

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.
1 Solution
Michael PfisterCommented:
Try to repair the WMI repository and reregister WMI:


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

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now