Get-ClusterResourceDependency
Get information about the dependencies that have been configured between clustered resources in a failover cluster.
Get-ClusterResourceDependency [-InputObject <psobject>] [[-Resource] <StringCollection>] [-Cluster <string>] [-Guid] [<CommonParameters>]
InputObject
Resource
Cluster
Guid
Resource dependencies control the order in which resources are brought online or taken offline in the 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 |
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 |
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 |
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 |
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.
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.
Add-ClusterResourceDependency
Remove-ClusterResourceDependency
Set-ClusterResourceDependency