Get-Cluster
Resource
Dependency
Report
Syntax
Get-ClusterResourceDependencyReport
[-Resource <String>]
[-Group <String>]
[-InputObject <PSObject>]
[-Cluster <String>]
[<CommonParameters>]
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.
Examples
Example 1
PS C:\> Get-ClusterResourceDependencyReport -Group cluster1FS12
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a--- 10/15/2008 6:29 PM 59299 fb509e66-8d02-4881-8184-6be5b1bfa4c2.mht
This example creates a dependency report file for the clustered file server, or resource group, named cluster1FS12 on the local cluster.
Example 2
PS C:\> Get-ClusterResourceDependencyReport -Group cluster1FS12 | Copy-Item -Destination C:\users\user1
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.
Example 3
PS C:\> Get-ClusterGroup | Get-ClusterResourceDependencyReport | Copy-Item -Destination \\fileserver\share
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.
Optional Parameters
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.
Type: | String |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the name of the cluster group for which to generate the dependency report.
Type: | String |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the cluster group or cluster resource for which to create the dependency report.
Type: | PSObject |
Position: | Named |
Default value: | None |
Accept pipeline input: | True (ByValue) |
Accept wildcard characters: | False |
Specifies the name of the cluster resource for which to generate the dependency report.
Type: | String |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
Microsoft.FailoverClusters.PowerShell.ClusterGroup
Inputs
Microsoft.FailoverClusters.PowerShell.ClusterResource
Outputs
System.IO.FileInfo