Remove-ClusterResourceDependency

Remove-ClusterResourceDependency

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

構文

Parameter Set: InputObject
Remove-ClusterResourceDependency [[-Resource] <String> ] [[-Provider] <String> ] [-Cluster <String> ] [-InputObject <PSObject> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

詳細説明

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.

パラメーター

-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.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-InputObject<PSObject>

Specifies the cluster resource from which to remove the dependency.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

true (ByValue)

ワイルドカード文字を許可する

false

-Provider<String>

Specifies the cluster resource on which to remove a dependency.

エイリアス

なし

必須?

false

位置は?

2

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-Resource<String>

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

エイリアス

なし

必須?

false

位置は?

1

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-Confirm

コマンドレットを実行する前に、ユーザーに確認を求めます。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-WhatIf

コマンドレットを実行するとどのような結果になるかを表示します。コマンドレットは実行されません。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

  • Microsoft.FailoverClusters.PowerShell.ClusterResource

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

  • Microsoft.FailoverClusters.PowerShell.ClusterResource

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)"

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)"

関連トピック

Add-ClusterResourceDependency

Get-ClusterResourceDependency

Set-ClusterResourceDependency