View Extract specific error entries from today's WSFC Cluster Log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Get-ClusterLogErrors { | |
[CmdletBinding()] | |
param ( | |
[Parameter(Mandatory, ValueFromPipeline)] | |
[string]$servername | |
) | |
begin { | |
$filePath = "\\$($servername)\c$\Windows\Cluster\Reports\Cluster.log" |
View Get-ClusterLogDetails
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Get-ClusterLogDetails { | |
[CmdletBinding()] | |
param ( | |
[Parameter(Mandatory, ValueFromPipeline)] | |
[string]$servername, | |
[Parameter(Mandatory, ValueFromPipeline)] | |
[string]$starttime, | |
[Parameter(Mandatory, ValueFromPipeline)] | |
[string]$endtime |