Get-ClusterOwnerNode
Gets information about which nodes can own a resource in a failover cluster or information about the order of preference among owner nodes for a clustered role.
Syntax
Default (Default)
Get-ClusterOwnerNode
[-Resource <String>]
[-Group <String>]
[-ResourceType <String>]
[-InputObject <PSObject>]
[-Cluster <String>]
[<CommonParameters>]
Description
The Get-ClusterOwnerNode cmdlet gets information about which nodes can own a resource in a
failover cluster or information about the order of preference among owner nodes for a clustered
role.
Settings that control the possible or preferred owners affect the way the cluster responds to the failure of a resource or a clustered role.
Examples
Example 1
Get-ClusterResource -Cluster "Cluster Disk 1" | Get-ClusterOwnerNode
This example lists the possible owners for the cluster named Cluster Disk 1 in the local cluster.
Example 2
Get-ClusterGroup -Group cluster1FS12 | Get-ClusterOwnerNode
This example lists the preferred owners for the clustered file server, or resource group, called
cluster1FS12 on the local cluster.
Parameters
-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.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-Group
Specifies the name of the cluster group for which owner nodes are enumerated.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-InputObject
Specifies the cluster group or cluster resource on which to enumerate owner nodes.
Parameter properties
| Type: | PSObject |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | True |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-Resource
Specifies the name of the cluster resource for which owner nodes are enumerated.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
| Aliases: | Res |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-ResourceType
Specifies the name of the cluster resource type for which owner nodes are enumerated.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
| Aliases: | ResType |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.