Create resources as a cluster resource
Create resources as cluster resources instead of node resources.
John Savill
March 5, 2017
1 Min Read
Q. When creating certain types of resources how can I make them be created as a cluster resource?
A. Consider a command such as New-VMGroup which creates a group that contains VMs. When creating ordinarily this would result in the object being created on a node rather than the cluster itself. To make the command utilize the cluster use the -CimSession parameter and pass the name of the cluster. For example:
New-VMGroup -Name savdalvfclusgrp -GroupType VMCollectionType -CimSession savdalhv16clus
About the Author
Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
You May Also Like