This is the built-in help made by Microsoft for the command 'Test-ClusterResourceFailure', 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.
Simulates a failure of a cluster resource.
Test-ClusterResourceFailure [[-Name] <String>] [-Cluster <String>] [-InputObject <PSObject>] [<CommonParameters>]
The Test-ClusterResourceFailure cmdlet simulates a failure of a cluster resource.
Based on the failover and failback policies, when this cmdlet runs, the Cluster service moves the clustered role, or resource group, and attempts to bring the clustered
resource online. This cmdlet can be used to simulate what actions the Cluster service will take when a resource fails.
<
Online Version: http://go.microsoft.com/fwlink/?LinkId=321080
Move-ClusterGroup
Start-ClusterResource
<
Example 1
PS C:\>Test-ClusterResourceFailure –Name "Cluster Disk 4"
Name State Group ResourceType
---- ----- ----- ------------
Cluster Disk 4 Failed cluster12FS Physical Disk
This example simulates a failure in cluster resource named Cluster Disk 4.