PowerShell Logo Small

Add-ClusterResource



This is the built-in help made by Microsoft for the command 'Add-ClusterResource', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Adds a resource to a clustered role, or resource group, in a failover cluster.

SYNTAX


Add-ClusterResource [-Name] <String> [[-Group] <String>] [-ResourceType] <String> [-Cluster <String>] [-InputObject <PSObject>] [-SeparateMonitor] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Add-ClusterResource cmdlet adds a resource to a clustered role, or resource group, in a failover cluster. Before adding the resource, obtain the resource type and the
name of the group to which to add the resource.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=321014
Get-ClusterResource
Move-ClusterResource
Remove-ClusterResource
Resume-ClusterResource
Start-ClusterResource
Stop-ClusterResource
Suspend-ClusterResource

REMARKS

<

Examples


EXAMPLE 1

PS C:\>Add-ClusterResource -Name resource1 -ResourceType "IP Address" -Group ClusterSrv1
Name State Group ResourceType
---- ----- ----- ------------
resource1 Offline ClusterSrv1 IP Address



This example creates a new IP Address resource called resource1 on the local cluster. The cmdlet configures the resource as part of the clustered role, or resource group,
called ClusterSrv1.