Share via


Get-ClusterResourceDependencyReport

Get-ClusterResourceDependencyReport

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

Syntax

Get-ClusterResourceDependencyReport [-InputObject <psobject>] [-Cluster <string>] [-Group <string>] [-Resource <string>] [<CommonParameters>]
  • InputObject

  • Cluster

  • Group

  • Resource

Detailed Description

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

Parameters

Cluster

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

Group

Specifies the name of the cluster group to generate the dependency report 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?

named

position

Value Attributes

Name Value PSMAML Attribute

Required?

true

required

Variable Length?

false

variableLength

InputObject

Specifies the cluster group or cluster resource to create the dependency report 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

Resource

Specifies the name of the cluster resource to generate the dependency report 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?

named

position

Value Attributes

Name Value PSMAML Attribute

Required?

true

required

Variable Length?

false

variableLength

Input Type

Microsoft.FailoverClusters.PowerShell.ClusterGroup,ClusterResource

Return Type

System.IO.FileInfo

Examples

-------------------------- EXAMPLE 1 --------------------------

Command Prompt: C:\PS>

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

Description

-----------

This command creates a dependency report file for the clustered file server (resource group) cluster1FS12 on the local cluster.

 

-------------------------- EXAMPLE 2 --------------------------

Command Prompt: C:\PS>

 
Get-ClusterResourceDependencyReport -Group cluster1FS12 | Copy-Item -Destination c:\users\user1

Description

-----------

This command creates a dependency report file for the clustered file server (resource group) cluster1FS12 on the local cluster. The dependency report is copied to c:\users\user1.

 

-------------------------- EXAMPLE 3 --------------------------

Command Prompt: C:\PS>

 
Get-ClusterGroup | Get-ClusterResourceDependencyReport | Copy-Item -Destination \\fileserver\share

Description

-----------

This command creates a dependency report file for each clustered service or application (resource group) on the local cluster, and copies all reports to \\fileserver\share.

See Also

Reference

Add-ClusterResourceDependency
Remove-ClusterResourceDependency
Set-ClusterResourceDependency

Other Resources

Online version: