Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Add-ClusterResourceType

Add-ClusterResourceType

microsoft.failoverclusters.powershell.dll

Synopsis

Adds a resource type to a failover cluster, and specifies information such as the dynamic-link library (DLL) to use with that resource type.

Syntax

Add-ClusterResourceType [-Name] [-Dll] [-DisplayName] [-Cluster] [-InputObject] [<CommonParameters>]

Detailed Description

The Add-ClusterResourceType cmdlet adds a resource type to a failover cluster, and specifies information such as the dynamic-link library (DLL) to use with that resource type.

The failover cluster software provides Resource DLL files for the most common types of resources. Using the application programming interface (API) provided in the Microsoft Platform Software Development Kit (SDK), other vendors can add support for other resource types.

Note: This cmdlet cannot be run remotely without Credential Security Service Provider (CredSSP) authentication on the server computer.

Parameters

-Cluster <String>

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.

Aliases

None

Required?

false

Position

named

Default value

Accept pipeline input?

false

Accept wildcard characters?

false

-DisplayName <String>

Specifies the display name for the resource type.

Aliases

None

Required?

false

Position

3

Default value

Accept pipeline input?

false

Accept wildcard characters?

false

-Dll <String>

Specifies the DLL file path for the resource type.

Aliases

None

Required?

true

Position

2

Default value

Accept pipeline input?

false

Accept wildcard characters?

false

-InputObject <PSObject>

Specifies the cluster on which to register the new resource type.

Aliases

None

Required?

false

Position

named

Default value

Accept pipeline input?

true (ByValue)

Accept wildcard characters?

false

-Name <String>

Specifies the name of the cluster resource type to register.

Aliases

None

Required?

true

Position

1

Default value

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type

Microsoft.FailoverClusters.PowerShell.Cluster

Return Type

Microsoft.FailoverClusters.PowerShell.ClusterResourceType

Notes

None

Examples

EXAMPLE 1

This example creates ResType3 on the local cluster using res3.dll located on the provided resource DLL file path C:\.

PS C:\>Add-ClusterResourceType -Name ResType3 –InputObject C:\res3.dll
Name                                    DisplayName 
----                                    ----------- 
ResType3                                ResType3 

EXAMPLE 2

This example creates ResType4 on the local cluster using res4.dll located on the provided resource DLL file path C:\. The display name of the resource type is Resource Type 4.

PS C:\>Add-ClusterResourceType –Name ResType4 -InputObject C:\res4.dll -DisplayName "Resource Type 4"
Name                                    DisplayName 
----                                    ----------- 
ResType4                                Resource Type 4 

Online Version
Get-ClusterResourceType
Remove-ClusterResourceType