Remove-ClusterResourceDependency
Remove a dependency between two resources in a clustered service or application within a failover cluster.
Remove-ClusterResourceDependency [-InputObject <psobject>] [[-Resource] <string>] [[-Provider] <string>] [-Cluster <string>] [<CommonParameters>]
InputObject
Resource
Provider
Cluster
A dependent resource is brought online after the resources that it depends on. Likewise, a dependent resource is taken offline before the resources that it depends on. If no dependency is configured between clustered resources, the order in which they are brought online or taken offline might vary.
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 |
Specifies the cluster resource to remove the dependency 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 cluster resource to remove a dependency on.
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? |
2 |
position |
Value Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
true |
required |
Variable Length? |
false |
variableLength |
Specifies the name of the cluster resource to remove the dependency for.
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? |
1 |
position |
Value Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
true |
required |
Variable Length? |
false |
variableLength |
Command Prompt: C:\PS>
Remove-ClusterResourceDependency -Resource cluster1FS -Provider "IP Address 2001:4898:9:2:: (3)"
Name State Group ResourceType
---- ----- ----- ------------
cluster1FS Online cluster1FS Network Name
Description
-----------
This command removes the dependency between cluster resource cluster1FS and resource "IP Address 2001:4898:9:2:: (3)".
Command Prompt: C:\PS>
Get-ClusterResource cluster1FS | Remove-ClusterResourceDependency "IP Address 2001:4898:9:2:: (3)"
Name State Group ResourceType
---- ----- ----- ------------
cluster1FS Online cluster1FS Network Name
Description
-----------
This command removes the dependency between cluster resource cluster1FS and resource "IP Address 2001:4898:9:2:: (3)".
Add-ClusterResourceDependency
Get-ClusterResourceDependency
Set-ClusterResourceDependency