Windows PowerShell command on Get-command Get-StorageReliabilityCounter
MyWebUniversity

Windows PowerShell command on Get-command Get-StorageReliabilityCounter

NAME

Get-StorageReliabilityCounter

SYNOPSIS

Gets storage reliability counters.

SYNTAX

Get-StorageReliabilityCounter [-CimSession ] [-ThrottleLimit ] -PhysicalDisk

[]

Get-StorageReliabilityCounter [-CimSession ] [-ThrottleLimit ] -Disk

[]

DESCRIPTION

The Get-StorageReliabilityCounter cmdlet gets the storage reliability counters for the specified disk or physical

disk. These counters include information about such things as the device temperature, errors, wear, and length of time the device has been in use.

PARAMETERS

-CimSession []

Runs the cmdlet in a remote session or on a remote computer. Enter a computer name or a session object, such

as the output of a New-CimSession or Get-CimSession cmdlet. The default is the current session on the local

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

-Disk

Specifies a disk for which to get storage reliability counters. Required? true Position? named Default value none Accept pipeline input? true(ByValue) Accept wildcard characters? false

-PhysicalDisk

Specifies the physical disk object for which to get storage reliability counters. Enter a PhysicalDisk CIM object. PhysicalDisk objects represent physical disks attached to a storage subsystem and located in a storage pool. Required? true Position? named Default value none Accept pipeline input? True (ByValue) Accept wildcard characters? false

-ThrottleLimit []

Specifies the maximum number of concurrent operations that can be established to run the cmdlet. If this parameter is omitted or a value of 0 is entered, then Windows PowerShellr calculates an optimum throttle limit for the cmdlet based on the number of CIM cmdlets that are running on the computer. The throttle limit applies only to the current cmdlet, not to the session or to the computer. 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

Microsoft.Management.Infrastructure.CimInstance#ROOT/Microsoft/Windows/Storage/MSFT_PhysicalDisk http://msdn.microsoft.com/library/windows/desktop/hh830532.aspx You can pipe an MSFT_PhysicalDisk object to the PhysicalDisk parameter to get the storage reliability counters for the specified physical disk. Microsoft.Management.Infrastructure.CimInstance#ROOT/Microsoft/Windows/Storage/MSFT_Disk http://msdn.microsoft.com/library/windows/desktop/hh830493.aspx You can pipe an MSFT_Disk object to the Disk parameter to get the storage reliability counters for the specified disk.

OUTPUTS

Microsoft.Management.Infrastructure.CimInstance#ROOT/Microsoft/Windows/Storage/MSFT_StorageReliabilityCounter http://msdn.microsoft.com/library/windows/desktop/jj160542.aspx

The Get-StorageReliabilityCounter cmdlet returns a StorageReliabilityCounter object, or an array of

StorageReliabilityCounter objects.

Example 1: Get the counters for a specified physical disk

PS C:\>Get-PhysicalDisk -FriendlyName "PhysicalDisk8" | Get-StorageReliabilityCounter

ObjectId : {e24dbc00-a448-11e1-a100-806e6f6e6963}:reliabilitycounter

PassThroughClass : PassThroughIds :

PassThroughNamespace :

PassThroughServer :

UniqueId : {e24dbc00-a448-11e1-a100-806e6f6e6963}:reliabilitycounter

DeviceId : 8 LoadUnloadCycleCount : 224 LoadUnloadCycleCountMax : 300000 ManufactureDate : Year: 2011 Week: 33 PowerOnHours : 0 ReadErrorsCorrected : 0 ReadErrorsTotal : 0 ReadErrorsUncorrected : 0 StartStopCycleCount : 80 StartStopCycleCountMax : 10000 Temperature : 28 TemperatureMax : 68 Wear : WriteErrorsCorrected : 0 WriteErrorsTotal : 0 WriteErrorsUncorrected : 0

PSComputerName :

This command gets the physical disk named PhysicalDisk8, and uses the pipeline operator to pass it to

Get-StorageReliabilityCounter, which gets its storage reliability counters.

RELATED LINKS

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

Get-Disk

Get-PhysicalDisk



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