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

How to list Hyper-V virtual machines on datastore/cluster storage with vmm

I know I can browse to the storage presented to the Hyper-V server with the filesystem and list virtual machine names that are stored there. I can propably write a powershell script to list what vms are on each storage too. What I want to know is if there is a way to list what virtual machines are running on a particular storage in vmm?
0
itnifl
Asked:
itnifl
  • 2
  • 2
2 Solutions
 
gheistCommented:
In particular there is a way to list open files and processes on any particular storage.
0
 
itniflAuthor Commented:
I am not sure what way you are thinking about, could you be more specific? I was hoping for a solution through VMM, buty all other suggestions are welcome.
0
 
Shabarinath RamadasanInfrastructure ArchitectCommented:
Hi Itnifl,

Did you tried my Powershell script for Hyper-V Dashboard?

http://insidevirtualization.com/hyperv3/hyper-v-dashboard-v-3-3-released/

Cheers
Shaba
0
 
gheistCommented:
sysinternals.com, a site ran by microsoft, hosts couple of tools to list open files in a window or in command line
0
 
Shabarinath RamadasanInfrastructure ArchitectCommented:
Another option is to try this.

Get-Cluster |Get-ClusterNode |Foreach {Get-VM -ComputerName $_.Name |Where {$_.Path -match "Volume1"}}
0

Featured Post

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

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