Windows PowerShell command on Get-command Get-StorageDiagnosticInfo
MyWebUniversity

Windows PowerShell command on Get-command Get-StorageDiagnosticInfo

NAME

Get-StorageDiagnosticInfo

SYNOPSIS

Gets Storage diagnostic information.

SYNTAX

Get-StorageDiagnosticInfo [-ActivityId ] [-CimSession ] [-ExcludeDiagnosticLog]

[-ExcludeOperationalLog] [-IncludeLiveDump] [-ThrottleLimit ] [-TimeSpan ] -DestinationPath

[]

Get-StorageDiagnosticInfo [-StorageSubSystemFriendlyName] [-ActivityId ] [-CimSession

] [-ExcludeDiagnosticLog] [-ExcludeOperationalLog] [-IncludeLiveDump] [-ThrottleLimit ]

[-TimeSpan ] -DestinationPath []

Get-StorageDiagnosticInfo [-ActivityId ] [-CimSession ] [-ExcludeDiagnosticLog]

[-ExcludeOperationalLog] [-IncludeLiveDump] [-ThrottleLimit ] [-TimeSpan ] -DestinationPath

-StorageSubSystemName []

Get-StorageDiagnosticInfo [-ActivityId ] [-CimSession ] [-ExcludeDiagnosticLog]

[-ExcludeOperationalLog] [-IncludeLiveDump] [-ThrottleLimit ] [-TimeSpan ] -DestinationPath

-StorageSubSystemUniqueId []

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 []

Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-CimSession []

Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-DestinationPath

Required? true Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-ExcludeDiagnosticLog []

Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-ExcludeOperationalLog []

Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-IncludeLiveDump []

Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-StorageSubSystemFriendlyName

Required? true Position? 1 Default value none Accept pipeline input? false Accept wildcard characters? false

-StorageSubSystemName

Required? true Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-StorageSubSystemUniqueId

Required? true Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-ThrottleLimit []

Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-TimeSpan []

Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false 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



Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 OurUNIX.com ™