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]
參數Parameters
-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.