Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Get-ClusterResourceDependency

Get-ClusterResourceDependency

Get information about the dependencies that have been configured between clustered resources in a failover cluster.

Syntax

Get-ClusterResourceDependency [-InputObject <psobject>] [[-Resource] <StringCollection>] [-Cluster <string>] [-Guid] [<CommonParameters>]
  • InputObject

  • Resource

  • Cluster

  • Guid

Detailed Description

Resource dependencies control the order in which resources are brought online or taken offline in the cluster.

Parameters

Cluster

Specifies the name of the cluster to run this cmdlet on. If you type "-Cluster ." or omit the parameter, the cmdlet runs on the local cluster.

Default Value:

Data Type: string

Attributes

Name Value PSMAML Attribute

Required?

false

required

Variable Length?

false

variableLength

Accept wildcard characters?

false

globbing

Accept Pipeline Input?

false

pipelineInput

Position?

named

position

Value Attributes

Name Value PSMAML Attribute

Required?

true

required

Variable Length?

false

variableLength

Guid

Causes the generated dependency expression to have the resource GUID's instead of the resource names.

Default Value:

Data Type: SwitchParameter

Attributes

Name Value PSMAML Attribute

Required?

false

required

Variable Length?

false

variableLength

Accept wildcard characters?

false

globbing

Accept Pipeline Input?

false

pipelineInput

Position?

named

position

Value Attributes

Name Value PSMAML Attribute

Required?

false

required

Variable Length?

false

variableLength

InputObject

Specifies the cluster resource to get the dependency expression for.

Default Value:

Data Type: psobject

Attributes

Name Value PSMAML Attribute

Required?

false

required

Variable Length?

false

variableLength

Accept wildcard characters?

false

globbing

Accept Pipeline Input?

true (ByValue)

pipelineInput

Position?

named

position

Value Attributes

Name Value PSMAML Attribute

Required?

true

required

Variable Length?

false

variableLength

Resource

Specifies the name of the cluster resource to get the dependency expression for.

Default Value:

Data Type: StringCollection

Attributes

Name Value PSMAML Attribute

Required?

false

required

Variable Length?

false

variableLength

Accept wildcard characters?

false

globbing

Accept Pipeline Input?

false

pipelineInput

Position?

1

position

Value Attributes

Name Value PSMAML Attribute

Required?

true

required

Variable Length?

false

variableLength

Input Type

Microsoft.FailoverClusters.PowerShell.ClusterResource

Return Type

Microsoft.FailoverClusters.PowerShell.ClusterResourceDependency

Examples

-------------------------- EXAMPLE 1 --------------------------

Command Prompt: C:\PS>
 
Get-ClusterResourceDependency cluster1FS12 
 
Resource                           DependencyExpression 
--------                           -------------------- 
cluster1FS12                       [IP Address 172.24.11.0] or [IP Add ...

Description

-----------

This command displays the dependencies for the resource called cluster1FS12.

 

-------------------------- EXAMPLE 2 --------------------------

Command Prompt: C:\PS>
 
Get-ClusterGroup cluster1FS12 | Get-ClusterResource | Get-ClusterResourceDependency 
 
Resource                           DependencyExpression 
--------                           -------------------- 
cluster1FS12                       [IP Address 172.24.11.0] or [IP Add ... 
Cluster Disk 6 
IP Address 157.56.48.0 
IP Address 2001:4898:9:2:: 
IP Address 2002:9d38:31ca:8::

Description

-----------

This command displays the dependencies for each resource in the clustered file server (resource group) called cluster1FS12. Some resources do not have dependencies.

See Also

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.