Rename Highly Available VM’s in FCM to only VM Names (Removing prefix,suffix SCVMM,Resources)

1
2
3
4
5

 

<#Hi Guys Sharing with you all a script to rename Highly Available VM's in FCM to only VM Names (Removing prefix,suffix SCVMM,Resources)
Copy paste the one liner in an elevated Powershell window on a Clustered Hyper-V host.#>
 
import-module FailoverClusters
get-clustergroup | where {$_.Name -match "scvmm.(.*).resources"} | foreach {$_.name = $matches[1]}

Share this post

One thought on “Rename Highly Available VM’s in FCM to only VM Names (Removing prefix,suffix SCVMM,Resources)

Post Comment