PowerShell Logo Small

Add-ClusterResourceDependency



This is the built-in help made by Microsoft for the command 'Add-ClusterResourceDependency', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Adds a resource to the list of resources on which a particular resource depends, using AND as the connector, within a failover cluster.

SYNTAX


Add-ClusterResourceDependency [[-Resource] <String>] [[-Provider] <String>] [-Cluster <String>] [-InputObject <PSObject>] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Add-ClusterResourceDependency cmdlet adds a resource to the list of resources on which a particular resource depends, using AND as the connector, within a failover
cluster. Existing dependencies will remain in the list.


A dependent resource is brought online after the resources on which it depends. A dependent resource is taken offline before the resources on which it depends.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=321015
Get-ClusterResourceDependency
Get-ClusterResourceDependencyReport
Remove-ClusterResourceDependency
Set-ClusterResourceDependency

REMARKS

<

Examples


Example 1

PS C:\>Add-ClusterResourceDependency –Cluster "FileServer-(cluster1FS12)(Cluster Disk 2)" –Resource "Cluster Disk 4"
Name State Group ResourceType
---- ----- ----- ------------
FileServer-(clus... Online cluster1FS12 File Server



This example adds the resource named Cluster Disk 4 to the list of resources on which the resource called FileServer-(cluster1FS12)(Cluster Disk 2) depends, using AND as the
connector.