Add-ClusterGroup
Adds an empty resource group to the failover cluster configuration, in preparation for adding clustered resources to the group.
Add-ClusterGroup
[-Name] <StringCollection>
[[-GroupType] <GroupType>]
[-InputObject <PSObject>]
[-Cluster <String>]
[<CommonParameters>]
The Add-ClusterGroup cmdlet adds an empty resource group to the failover cluster configuration, in preparation for adding clustered resources to the group. A resource group, or a clustered role, is the unit of failover. During failover, all resources in the resource group move together.
PS C:\> Add-ClusterGroup -Name "Group1"
Name OwnerNode State
---- --------- -----
Group1 node1 Online
This example adds an empty resource group called Group1 to the failover cluster.
Specifies the name of the cluster on which to run this cmdlet.
If the input for this parameter is .
or it is omitted, then the cmdlet runs on the local cluster.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the type of group to add to the failover cluster configuration.
Type: | GroupType |
Accepted values: | Cluster, AvailableStorage, Temporary, ClusterSharedVolume, ClusterStoragePool, FileServer, DhcpServer, Dtc, Msmq, Wins, StandAloneDfs, GenericApplication, GenericService, GenericScript, IScsiNameService, VirtualMachine, TsSessionBroker, IScsiTarget, ScaleoutFileServer, VMReplicaBroker, TaskScheduler, Unknown |
Position: | 1 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the cluster on which to create the resource group.
Type: | PSObject |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Specifies the name of the resource group to add.
Type: | StringCollection |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Microsoft.FailoverClusters.PowerShell.Cluster
Microsoft.FailoverClusters.PowerShell.ClusterGroup