Skip navigation
Create resources as a cluster resource

Create resources as a cluster resource

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

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish