Quantcast
Channel: Windows Server ––Virtualize & Automate–
Viewing all articles
Browse latest Browse all 11

Extract the DiskName & FriendlyVolumeName from a Hyper-V Host For a Cluster Share Volume

$
0
0
1
2
3
4
5

 
<#Hi Guys Sharing with you all a script which i created to Extract the DiskName & FriendlyVolumeName from a Hyper-V Host
Copy paste the one liner in an elevated Powershell window on a Clustered Hyper-V host.#>
 
import-module FailoverClusters
Get-ClusterSharedVolume | select name, @{l="FriendlyVolumeName";e={Get-ClusterSharedVolume $_.name | select -expandproperty sharedvolumeinfo | select -expandproperty friendlyvolumename}},state | ft -autosize

The post Extract the DiskName & FriendlyVolumeName from a Hyper-V Host For a Cluster Share Volume appeared first on --Virtualize & Automate--.


Viewing all articles
Browse latest Browse all 11

Trending Articles