Saturday 21 September 2024

How to collect logs of windows failover cluster

 

The following single line command will Creates a log file for all nodes, for last 2 hours, will use local time and save in the c:\temp folder with the names of all cluster nodes in a failover cluster.


Get-clusterlog -uselocaltime -timeSpan 2 -Destination "c:\temp"

No comments:

Post a Comment