Export (0) Print
Expand All
Expand Minimize

Get-ClusterResourceDependencyReport

Windows Server 2012 R2 and Windows 8.1

Updated: October 17, 2013

Applies To: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2

Get-ClusterResourceDependencyReport

Generates a report that lists the dependencies between resources in a failover cluster.

Syntax

Parameter Set: InputObject
Get-ClusterResourceDependencyReport [-Cluster <String> ] [-Group <String> ] [-InputObject <PSObject> ] [-Resource <String> ] [ <CommonParameters>]




Detailed Description

The Get-ClusterResourceDependencyReport cmdlet generates a report that lists the dependencies between resources in a failover cluster.

The report has a filename extension of MHT. For convenience in storing and finding the report, you can pipe this cmdlet to the Copy-Item cmdlet and specify a destination folder into which to copy the report.

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

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Group<String>

Specifies the name of the cluster group for which to generate the dependency report.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-InputObject<PSObject>

Specifies the cluster group or cluster resource for which to create the dependency report.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-Resource<String>

Specifies the name of the cluster resource for which to generate the dependency report.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • Microsoft.FailoverClusters.PowerShell.ClusterGroup
  • Microsoft.FailoverClusters.PowerShell.ClusterResource

Outputs

The output type is the type of the objects that the cmdlet emits.

  • System.IO.FileInfo

Examples

EXAMPLE 1

This example creates a dependency report file for the clustered file server, or resource group, named cluster1FS12 on the local cluster.


PS C:\> Get-ClusterResourceDependencyReport -Group cluster1FS12
Mode                LastWriteTime     Length Name 
----                -------------     ------ ---- 
-a---        10/15/2008   6:29 PM      59299 fb509e66-8d02-4881-8184-6be5b1bfa4c2.mht 

EXAMPLE 2

This example creates a dependency report file for the clustered file server, or resource group, named cluster1FS12 on the local cluster. The dependency report is copied to C:\users\user1.


PS C:\> Get-ClusterResourceDependencyReport -Group cluster1FS12 | Copy-Item -Destination C:\users\user1

EXAMPLE 3

This example creates a dependency report file for each clustered role, or resource group, on the local cluster, and copies all reports to \\fileserver\share.


PS C:\> Get-ClusterGroup | Get-ClusterResourceDependencyReport | Copy-Item -Destination \\fileserver\share

Related topics

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft