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
 

Remove-ClusterResourceDependency

Remove-ClusterResourceDependency

microsoft.failoverclusters.powershell.dll

Synopsis

Removes a dependency between two resources in a clustered role within a failover cluster.

Syntax

Remove-ClusterResourceDependency [-Resource] [-Provider] [-Cluster] [-InputObject] [-Confirm] [-WhatIf] [<CommonParameters>]

Detailed Description

The Remove-ClusterResourceDependency cmdlet removes a dependency between two resources in a clustered role within a failover cluster.

A dependent resource is brought online after the resources on which it depends. Likewise, a dependent resource is taken offline before the resources on which it depends. If no dependency is configured between clustered resources, then the order in which they are brought online or taken offline might vary.

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

-InputObject <PSObject>

Specifies the cluster resource from which to remove the dependency.

Aliases

None

Required?

false

Position

named

Default value

Accept pipeline input?

true (ByValue)

Accept wildcard characters?

false

-Provider <String>

Specifies the cluster resource on which to remove a dependency.

Aliases

None

Required?

false

Position

2

Default value

Accept pipeline input?

false

Accept wildcard characters?

false

-Resource <String>

Specifies the name of the cluster resource from which to remove the dependency.

Aliases

None

Required?

false

Position

1

Default value

Accept pipeline input?

false

Accept wildcard characters?

false

-Confirm <SwitchParameter>

Prompts you for confirmation before running the cmdlet.

Aliases

None

Required?

false

Position

named

Default value

false

Accept pipeline input?

false

Accept wildcard characters?

false

-WhatIf <SwitchParameter>

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Aliases

None

Required?

false

Position

named

Default value

false

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type

Microsoft.FailoverClusters.PowerShell.ClusterResource

Return Type

Microsoft.FailoverClusters.PowerShell.ClusterResource

Notes

None

Examples

Example 1

This example removes the dependency between cluster resource cluster1FS and the resource named IP Address 2001:4898:9:2:: (3).

PS C:\>Remove-ClusterResourceDependency -Resource cluster1FS -Provider "IP Address 2001:4898:9:2:: (3)"
Name                State               Group               ResourceType 
----                -----               -----               ------------ 
cluster1FS          Online              cluster1FS          Network Name 

Example 2

This example removes the dependency between the cluster resource named cluster1FS and the resource named IP Address 2001:4898:9:2:: (3).

PS C:\>Get-ClusterResource –Name cluster1FS | Remove-ClusterResourceDependency –Provider "IP Address 2001:4898:9:2:: (3)"
Name                State               Group               ResourceType 
----                -----               -----               ------------ 
cluster1FS          Online              cluster1FS          Network Name 

Online Version
Add-ClusterResourceDependency
Get-ClusterResourceDependency
Set-ClusterResourceDependency