< Back

Get-StorageDiagnosticInfo

Wed Jan 30, 2019 6:02 pm

NAME Get-StorageDiagnosticInfo



SYNOPSIS

Gets Storage diagnostic information.





SYNTAX

Get-StorageDiagnosticInfo [-ActivityId <String>] [-CimSession <CimSession>] [-ExcludeDiagnosticLog] [-ExcludeOperationalLog] [-IncludeLiveDump]

[-ThrottleLimit <Int32>] [-TimeSpan <UInt32>] -DestinationPath <String> [<CommonParameters>]



Get-StorageDiagnosticInfo [-StorageSubSystemFriendlyName] <String> [-ActivityId <String>] [-CimSession <CimSession>] [-ExcludeDiagnosticLog]

[-ExcludeOperationalLog] [-IncludeLiveDump] [-ThrottleLimit <Int32>] [-TimeSpan <UInt32>] -DestinationPath <String> [<CommonParameters>]



Get-StorageDiagnosticInfo [-ActivityId <String>] [-CimSession <CimSession>] [-ExcludeDiagnosticLog] [-ExcludeOperationalLog] [-IncludeLiveDump]

[-ThrottleLimit <Int32>] [-TimeSpan <UInt32>] -DestinationPath <String> -StorageSubSystemName <String> [<CommonParameters>]



Get-StorageDiagnosticInfo [-ActivityId <String>] [-CimSession <CimSession>] [-ExcludeDiagnosticLog] [-ExcludeOperationalLog] [-IncludeLiveDump]

[-ThrottleLimit <Int32>] [-TimeSpan <UInt32>] -DestinationPath <String> -StorageSubSystemUniqueId <String> [<CommonParameters>]





DESCRIPTION

The Get-StorageDiagnosticInfo cmdlet gets Storage event logs, trace logs (if present), and live dumps of all nodes in the specified Storage subsystem.

Event logs are gathered into one .evtx file per machine, and trace logs are gathered in .etw format. The cmdlet copies this information to path

specified by the DestinationPath parameter.



By default, this cmdlet gathers information for the past 24 hours. To specify a different number of hours, use the TimeSpan parameter.





PARAMETERS

-ActivityId [<String>]





Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-CimSession [<CimSession>]





Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-DestinationPath <String>





Required? true

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-ExcludeDiagnosticLog [<SwitchParameter>]





Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-ExcludeOperationalLog [<SwitchParameter>]





Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-IncludeLiveDump [<SwitchParameter>]





Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-StorageSubSystemFriendlyName <String>





Required? true

Position? 1

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-StorageSubSystemName <String>





Required? true

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-StorageSubSystemUniqueId <String>





Required? true

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-ThrottleLimit [<Int32>]





Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-TimeSpan [<UInt32>]





Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS











OUTPUTS











Example 1: Get all logs and dumps for a cluster subsystem



PS C:\\>Get-StorageDiagnostics -StorageSubSystemName "VMMCluster.contoso.corp.microsoft.com" -DestinationPath "\\\\FileShare1\\Debug\\"



This command gets all types of logs and dumps for the specified Storage cluster subsystem.







RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=816398