Get-ClusterLogGet-ClusterLog

语法Syntax

Get-ClusterLog [-SkipClusterState] [-InputObject <Object>] [-Cluster <Object>] [-NetworkDiagnostics]
 [-Destination <Object>] [-NetworkDiagnosticsLevel <Object>] [[-Node] <Object>] [-TimeSpan <Object>]
 [-PerformanceHistoryTimeFrame <Object>] [-Health] [-ExportClusterPerformanceHistory] [-UseLocalTime] [-AsJob]

parametersParameters

-Cluster-Cluster

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Destination-Destination

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ExportClusterPerformanceHistory-ExportClusterPerformanceHistory

导出 ClusterPorformanceHistory 数据。Export the ClusterPorformanceHistory data.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Health-Health

生成群集运行状况日志。Generate the cluster health logs.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-InputObject-InputObject

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-NetworkDiagnostics-NetworkDiagnostics

生成群集网络诊断日志。Generate the cluster network diagnostics logs.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-NetworkDiagnosticsLevel-NetworkDiagnosticsLevel

指定网络诊断日志的深度级别。Specifies the level of depth of the network diagnostics logs.

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Node-Node

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-PerformanceHistoryTimeFrame-PerformanceHistoryTimeFrame

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-SkipClusterState-SkipClusterState

生成群集日志而不检索群集状态信息。Generate the cluster log without retrieving cluster state information.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: scs

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-TimeSpan-TimeSpan

Type: Object
Parameter Sets: (All)
Aliases: Span

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-UseLocalTime-UseLocalTime

使用本地时间而不是 GMT 生成群集日志。Generate the cluster log using local time instead of GMT.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: lt

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-AsJob-AsJob

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

后续步骤Next steps

https://go.microsoft.com/fwlink/?LinkId=216212

有关如何访问和使用特权终结点的信息,请参阅使用 Azure Stack Hub 中的特权终结点For information on how to access and use the privileged endpoint, see Use the privileged endpoint in Azure Stack Hub.