CmdID / PowerShell / Cmdlets / Get
Get-ClusterDiagnosticInfo
Gets diagnostics for a cluster a cluster that contains VMs and produces a zip file containing the data. Windows Server PowerShell reference
From the Windows Server PowerShell reference 6 parameters Its page in the reference
Parameters
-ClusterSpecifies the name of the cluster the cmdlet gets.-HoursOfEventsSpecifies the number of hours in the past that this cmdlet gathers system event logs.-IncludeEventsIndicates that this cmdlet gathers system event logs.-ReadFromPathSpecifies the path to read from when examining previously collected log files.-WriteToPathSpecifies the path to create the ZIP file that contains all of the logs.-ZipPrefixSpecifies the name to prepend to the ZIP file that is produced.