en-us/DiskSmartInfo-help.xml

<?xml version="1.0" encoding="utf-8"?>
<helpItems schema="maml" xmlns="http://msh">
  <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
    <command:details>
      <command:name>Get-DiskSmartAttributeDescription</command:name>
      <command:verb>Get</command:verb>
      <command:noun>DiskSmartAttributeDescription</command:noun>
      <maml:description>
        <maml:para>Gets SMART attributes description</maml:para>
      </maml:description>
    </command:details>
    <maml:description>
      <maml:para>Cmdlet gets SMART (Self-Monitoring, Analysis and Reporting Technology) attributes description</maml:para>
    </maml:description>
    <command:syntax>
      <command:syntaxItem>
        <maml:name>Get-DiskSmartAttributeDescription</maml:name>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="0" aliases="none">
          <maml:name>AttributeID</maml:name>
          <maml:description>
            <maml:para>Specifies attribute id.</maml:para>
          </maml:description>
          <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
          <dev:type>
            <maml:name>Int32</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>None</dev:defaultValue>
        </command:parameter>
      </command:syntaxItem>
      <command:syntaxItem>
        <maml:name>Get-DiskSmartAttributeDescription</maml:name>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none">
          <maml:name>AttributeIDHex</maml:name>
          <maml:description>
            <maml:para>Specifies attribute id in hexadecimal.</maml:para>
          </maml:description>
          <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
          <dev:type>
            <maml:name>String</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>None</dev:defaultValue>
        </command:parameter>
      </command:syntaxItem>
      <command:syntaxItem>
        <maml:name>Get-DiskSmartAttributeDescription</maml:name>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none">
          <maml:name>CriticalOnly</maml:name>
          <maml:description>
            <maml:para>Displays critical attributes only.</maml:para>
          </maml:description>
          <dev:type>
            <maml:name>SwitchParameter</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
      </command:syntaxItem>
    </command:syntax>
    <command:parameters>
      <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="0" aliases="none">
        <maml:name>AttributeID</maml:name>
        <maml:description>
          <maml:para>Specifies attribute id.</maml:para>
        </maml:description>
        <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue>
        <dev:type>
          <maml:name>Int32</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue>None</dev:defaultValue>
      </command:parameter>
      <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none">
        <maml:name>AttributeIDHex</maml:name>
        <maml:description>
          <maml:para>Specifies attribute id in hexadecimal.</maml:para>
        </maml:description>
        <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
        <dev:type>
          <maml:name>String</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue>None</dev:defaultValue>
      </command:parameter>
      <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none">
        <maml:name>CriticalOnly</maml:name>
        <maml:description>
          <maml:para>Displays critical attributes only.</maml:para>
        </maml:description>
        <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
        <dev:type>
          <maml:name>SwitchParameter</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue>False</dev:defaultValue>
      </command:parameter>
    </command:parameters>
    <command:inputTypes>
      <command:inputType>
        <dev:type>
          <maml:name>None</maml:name>
        </dev:type>
        <maml:description>
          <maml:para></maml:para>
        </maml:description>
      </command:inputType>
    </command:inputTypes>
    <command:returnValues>
      <command:returnValue>
        <dev:type>
          <maml:name>System.Object</maml:name>
        </dev:type>
        <maml:description>
          <maml:para></maml:para>
        </maml:description>
      </command:returnValue>
    </command:returnValues>
    <maml:alertSet>
      <maml:alert>
        <maml:para></maml:para>
      </maml:alert>
    </maml:alertSet>
    <command:examples>
      <command:example>
        <maml:title>------------ Example 1: Get attributes description ------------</maml:title>
        <dev:code>Get-DiskSmartAttributeDescription
 
AttributeID : 1
AttributeIDHex : 1
AttributeName : Read Error Rate
BetterValue : Low
IsCritical :
Description : (Vendor specific raw value.) Stores data related to the rate of hardware read errors that occurred when reading data from a disk surface. The raw value has different structure for different vendors and is often not meaningful as a decimal number.
 
AttributeID : 2
AttributeIDHex : 2
AttributeName : Throughput Performance
BetterValue : High
IsCritical :
Description : Overall (general) throughput performance of a hard disk drive. If the value of this attribute is decreasing there is a high probability that there is a problem with the disk.
 
...</dev:code>
        <dev:remarks>
          <maml:para>The command gets SMART attributes description.</maml:para>
          <maml:para/>
          <maml:para/>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>---------- Example 2: Get attribute description by ID ----------</maml:title>
        <dev:code>Get-DiskSmartAttributeDescription -AttributeID 192
 
AttributeID : 192
AttributeIDHex : C0
AttributeName : Power-off Retract Count
BetterValue : Low
IsCritical :
Description : Also known as "Emergency Retract Cycle Count" (Fujitsu) or "Unsafe Shutdown Count". Number of power-off or emergency retract cycles.</dev:code>
        <dev:remarks>
          <maml:para>The command gets description for attribute with ID 192.</maml:para>
          <maml:para/>
          <maml:para/>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>Example 3: Get attribute description by ID without specifying AttributeID parameter name</maml:title>
        <dev:code>Get-DiskSmartAttributeDescription 192
 
AttributeID : 192
AttributeIDHex : C0
AttributeName : Power-off Retract Count
BetterValue : Low
IsCritical :
Description : Also known as "Emergency Retract Cycle Count" (Fujitsu) or "Unsafe Shutdown Count". Number of power-off or emergency retract cycles.</dev:code>
        <dev:remarks>
          <maml:para>The command gets description for attribute with ID 192.</maml:para>
          <maml:para/>
          <maml:para/>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>-------- Example 4: Get attribute description by IDHex --------</maml:title>
        <dev:code>Get-DiskSmartAttributeDescription -AttributeIDHex C2
 
AttributeID : 194
AttributeIDHex : C2
AttributeName : Temperature
BetterValue : Low
IsCritical :
Description : Indicates the device temperature, if the appropriate sensor is fitted. Lowest byte of the raw value contains the exact temperature value (Celsius degrees).</dev:code>
        <dev:remarks>
          <maml:para>The command gets description for attribute with IDHex C2.</maml:para>
          <maml:para/>
          <maml:para/>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>-------- Example 5: Get critical attributes description --------</maml:title>
        <dev:code>Get-DiskSmartAttributeDescription -CriticalOnly
 
AttributeID : 5
AttributeIDHex : 5
AttributeName : Reallocated Sectors Count
BetterValue :
IsCritical : True
Description : Count of reallocated sectors. The raw value represents a count of the bad sectors that have been found and remapped.[25] Thus, the higher the attribute value, the more sectors the drive has had to reallocate. This value is primarily used as a metric of the life expectancy of the drive; a drive which has had any reallocations at all is significantly more likely to fail in the immediate months.
 
AttributeID : 10
AttributeIDHex : A
AttributeName : Spin Retry Count
BetterValue : Low
IsCritical : True
Description : Count of retry of spin start attempts. This attribute stores a total count of the spin start attempts to reach the fully operational speed (under the condition that the first attempt was unsuccessful). An increase of this attribute value is a sign of problems in the hard disk mechanical subsystem.
 
...</dev:code>
        <dev:remarks>
          <maml:para>The command gets description for critical SMART attributes.</maml:para>
        </dev:remarks>
      </command:example>
    </command:examples>
    <command:relatedLinks />
  </command:command>
  <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
    <command:details>
      <command:name>Get-DiskSmartInfo</command:name>
      <command:verb>Get</command:verb>
      <command:noun>DiskSmartInfo</command:noun>
      <maml:description>
        <maml:para>Gets disk SMART information</maml:para>
      </maml:description>
    </command:details>
    <maml:description>
      <maml:para>Cmdlet gets disk SMART (Self-Monitoring, Analysis and Reporting Technology) information</maml:para>
    </maml:description>
    <command:syntax>
      <command:syntaxItem>
        <maml:name>Get-DiskSmartInfo</maml:name>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="0" aliases="none">
          <maml:name>ComputerName</maml:name>
          <maml:description>
            <maml:para>Specifies computer names to get data.</maml:para>
          </maml:description>
          <command:parameterValue required="true" variableLength="false">String[]</command:parameterValue>
          <dev:type>
            <maml:name>String[]</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>None</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none">
          <maml:name>ShowConvertedData</maml:name>
          <maml:description>
            <maml:para>Adds converted data for some of the attributes.</maml:para>
            <maml:para>Such attributes are: "Spin-Up Time" (displays value in seconds), "Power-On Hours" (displays value in days), "Temperature Difference" (shows actual temperature), and "Total LBAs Written" (shows value in Tb).</maml:para>
          </maml:description>
          <dev:type>
            <maml:name>SwitchParameter</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none">
          <maml:name>CriticalAttributesOnly</maml:name>
          <maml:description>
            <maml:para>Displays only critical attributes.</maml:para>
            <maml:para>You can get the list of such attributes by using the Get-DiskSmartAttributeDescription -CriticalOnly command.</maml:para>
          </maml:description>
          <dev:type>
            <maml:name>SwitchParameter</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none">
          <maml:name>SilenceIfNotInWarningOrCriticalState</maml:name>
          <maml:description>
            <maml:para>Displays only attributes, whose value is in Warning or Critical state.</maml:para>
            <maml:para>If attribute if critical, it is shown, if its Data greater than 0. If attribute is not critical, it is shown, if its Value is less or equal to its threshold.</maml:para>
            <maml:para>If disk does not have attributes with values in Warning or Critical state, it is not shown.</maml:para>
          </maml:description>
          <dev:type>
            <maml:name>SwitchParameter</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
      </command:syntaxItem>
      <command:syntaxItem>
        <maml:name>Get-DiskSmartInfo</maml:name>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none">
          <maml:name>CimSession</maml:name>
          <maml:description>
            <maml:para>Specifies CimSessions to get data.</maml:para>
            <maml:para>You can use both WSMAN and DCOM types of sessions.</maml:para>
          </maml:description>
          <command:parameterValue required="true" variableLength="false">CimSession[]</command:parameterValue>
          <dev:type>
            <maml:name>CimSession[]</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>None</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none">
          <maml:name>ShowConvertedData</maml:name>
          <maml:description>
            <maml:para>Adds converted data for some of the attributes.</maml:para>
            <maml:para>Such attributes are: "Spin-Up Time" (displays value in seconds), "Power-On Hours" (displays value in days), "Temperature Difference" (shows actual temperature), and "Total LBAs Written" (shows value in Tb).</maml:para>
          </maml:description>
          <dev:type>
            <maml:name>SwitchParameter</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none">
          <maml:name>CriticalAttributesOnly</maml:name>
          <maml:description>
            <maml:para>Displays only critical attributes.</maml:para>
            <maml:para>You can get the list of such attributes by using the Get-DiskSmartAttributeDescription -CriticalOnly command.</maml:para>
          </maml:description>
          <dev:type>
            <maml:name>SwitchParameter</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
        <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none">
          <maml:name>SilenceIfNotInWarningOrCriticalState</maml:name>
          <maml:description>
            <maml:para>Displays only attributes, whose value is in Warning or Critical state.</maml:para>
            <maml:para>If attribute if critical, it is shown, if its Data greater than 0. If attribute is not critical, it is shown, if its Value is less or equal to its threshold.</maml:para>
            <maml:para>If disk does not have attributes with values in Warning or Critical state, it is not shown.</maml:para>
          </maml:description>
          <dev:type>
            <maml:name>SwitchParameter</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
      </command:syntaxItem>
    </command:syntax>
    <command:parameters>
      <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="0" aliases="none">
        <maml:name>ComputerName</maml:name>
        <maml:description>
          <maml:para>Specifies computer names to get data.</maml:para>
        </maml:description>
        <command:parameterValue required="true" variableLength="false">String[]</command:parameterValue>
        <dev:type>
          <maml:name>String[]</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue>None</dev:defaultValue>
      </command:parameter>
      <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none">
        <maml:name>CimSession</maml:name>
        <maml:description>
          <maml:para>Specifies CimSessions to get data.</maml:para>
          <maml:para>You can use both WSMAN and DCOM types of sessions.</maml:para>
        </maml:description>
        <command:parameterValue required="true" variableLength="false">CimSession[]</command:parameterValue>
        <dev:type>
          <maml:name>CimSession[]</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue>None</dev:defaultValue>
      </command:parameter>
      <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none">
        <maml:name>ShowConvertedData</maml:name>
        <maml:description>
          <maml:para>Adds converted data for some of the attributes.</maml:para>
          <maml:para>Such attributes are: "Spin-Up Time" (displays value in seconds), "Power-On Hours" (displays value in days), "Temperature Difference" (shows actual temperature), and "Total LBAs Written" (shows value in Tb).</maml:para>
        </maml:description>
        <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
        <dev:type>
          <maml:name>SwitchParameter</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue>False</dev:defaultValue>
      </command:parameter>
      <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none">
        <maml:name>CriticalAttributesOnly</maml:name>
        <maml:description>
          <maml:para>Displays only critical attributes.</maml:para>
          <maml:para>You can get the list of such attributes by using the Get-DiskSmartAttributeDescription -CriticalOnly command.</maml:para>
        </maml:description>
        <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
        <dev:type>
          <maml:name>SwitchParameter</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue>False</dev:defaultValue>
      </command:parameter>
      <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none">
        <maml:name>SilenceIfNotInWarningOrCriticalState</maml:name>
        <maml:description>
          <maml:para>Displays only attributes, whose value is in Warning or Critical state.</maml:para>
          <maml:para>If attribute if critical, it is shown, if its Data greater than 0. If attribute is not critical, it is shown, if its Value is less or equal to its threshold.</maml:para>
          <maml:para>If disk does not have attributes with values in Warning or Critical state, it is not shown.</maml:para>
        </maml:description>
        <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue>
        <dev:type>
          <maml:name>SwitchParameter</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue>False</dev:defaultValue>
      </command:parameter>
    </command:parameters>
    <command:inputTypes>
      <command:inputType>
        <dev:type>
          <maml:name>None</maml:name>
        </dev:type>
        <maml:description>
          <maml:para></maml:para>
        </maml:description>
      </command:inputType>
    </command:inputTypes>
    <command:returnValues>
      <command:returnValue>
        <dev:type>
          <maml:name>System.Object</maml:name>
        </dev:type>
        <maml:description>
          <maml:para></maml:para>
        </maml:description>
      </command:returnValue>
    </command:returnValues>
    <maml:alertSet>
      <maml:alert>
        <maml:para>You can get original error objects by using -Debug parameter.</maml:para>
      </maml:alert>
    </maml:alertSet>
    <command:examples>
      <command:example>
        <maml:title>---------------- Example 1: Get disk SMART info ----------------</maml:title>
        <dev:code>Get-DiskSmartInfo
 
Model: Disk model
InstanceId: Disk Instance Id
SMARTData:
 
              ID IDHex AttributeName Threshold Value Worst Data
              -- ----- ------------- --------- ----- ----- ----
              5 5 Reallocated Sectors Count 10 100 100 0
              9 9 Power-On Hours 0 98 98 8397
              12 C Power Cycle Count 0 99 99 22
              177 B1 Wear Range Delta 0 98 98 33
              179 B3 Used Reserved Block Count Total 10 100 100 0
              181 B5 Program Fail Count Total 10 100 100 0
              182 B6 Erase Fail Count 10 100 100 0
              183 B7 SATA Downshift Error Count 10 100 100 0
              187 BB Reported Uncorrectable Errors 0 100 100 0
              190 BE Temperature Difference 0 53 48 47
              195 C3 Hardware ECC Recovered 0 200 200 0
              199 C7 Ultra DMA CRC Error Count 0 100 100 0
              235 EB Good Block Count AND System(Free) Block Count 0 99 99 6
              241 F1 Total LBAs Written 0 99 99 12720469069</dev:code>
        <dev:remarks>
          <maml:para>The command gets disk SMART information.</maml:para>
          <maml:para/>
          <maml:para/>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>------------------ Example 2: Converted data ------------------</maml:title>
        <dev:code>Get-DiskSmartInfo -ShowConvertedData
 
Model: Disk model
InstanceId: Disk Instance Id
SMARTData:
 
              ID IDHex AttributeName Threshold Value Worst Data ConvertedData
              -- ----- ------------- --------- ----- ----- ---- -------------
              5 5 Reallocated Sectors Count 10 100 100 0
              9 9 Power-On Hours 0 98 98 8397 349.88 Days
              12 C Power Cycle Count 0 99 99 22
              177 B1 Wear Range Delta 0 98 98 33
              179 B3 Used Reserved Block Count Total 10 100 100 0
              181 B5 Program Fail Count Total 10 100 100 0
              182 B6 Erase Fail Count 10 100 100 0
              183 B7 SATA Downshift Error Count 10 100 100 0
              187 BB Reported Uncorrectable Errors 0 100 100 0
              190 BE Temperature Difference 0 53 48 47 53 C
              195 C3 Hardware ECC Recovered 0 200 200 0
              199 C7 Ultra DMA CRC Error Count 0 100 100 0
              235 EB Good Block Count AND System(Free) Block Count 0 99 99 6
              241 F1 Total LBAs Written 0 99 99 12720469069 5.923 Tb</dev:code>
        <dev:remarks>
          <maml:para>The command gets disk SMART information and adds converted data for some of the attributes.</maml:para>
          <maml:para/>
          <maml:para/>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>------------- Example 3: Critical attributes only -------------</maml:title>
        <dev:code>Get-DiskSmartInfo -CriticalAttributesOnly
 
Model: Disk model
InstanceId: Disk Instance Id
SMARTData:
 
              ID IDHex AttributeName Threshold Value Worst Data
              -- ----- ------------- --------- ----- ----- ----
              5 5 Reallocated Sectors Count 10 252 252 0
              10 A Spin Retry Count 51 252 252 0
              196 C4 Reallocation Event Count 0 252 252 0
              197 C5 Current Pending Sector Count 0 252 252 0
              198 C6 Offline Uncorrectable Sector Count 0 252 252 0</dev:code>
        <dev:remarks>
          <maml:para>The command gets disk SMART information and displays only critical attributes.</maml:para>
          <maml:para/>
          <maml:para/>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>---- Example 4: Silence if not in warning or critical state ----</maml:title>
        <dev:code>Get-DiskSmartInfo -SilenceIfNotInWarningOrCriticalState
 
Model: Disk model
InstanceId: Disk Instance Id
SMARTData:
 
              ID IDHex AttributeName Threshold Value Worst Data
              -- ----- ------------- --------- ----- ----- ----
              3 3 Spin-Up Time 21 20 20 6825
              197 C5 Current Pending Sector Count 0 200 200 20
              198 C6 Offline Uncorrectable Sector Count 0 200 200 20</dev:code>
        <dev:remarks>
          <maml:para>The command gets disk SMART information and displays only the attributes with values in Warning or Critical state. Disks that does not have attributes with values in such states does not display.</maml:para>
          <maml:para/>
          <maml:para/>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>Example 5: Silence if critical attributes are not in warning or critical state</maml:title>
        <dev:code>Get-DiskSmartInfo -CriticalAttributesOnly -SilenceIfNotInWarningOrCriticalState
 
Model: Disk model
InstanceId: Disk Instance Id
SMARTData:
 
              ID IDHex AttributeName Threshold Value Worst Data
              -- ----- ------------- --------- ----- ----- ----
              197 C5 Current Pending Sector Count 0 200 200 20
              198 C6 Offline Uncorrectable Sector Count 0 200 200 20</dev:code>
        <dev:remarks>
          <maml:para>The command gets disk SMART information and displays only the the critical attributes with values in Warning or Critical state. Disks that does not have critical attributes with values in such states does not display.</maml:para>
          <maml:para/>
          <maml:para/>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>----- Example 6: Get disk SMART info from remote computers -----</maml:title>
        <dev:code>Get-DiskSmartInfo -ComputerName SomeComputer
 
ComputerName: SomeComputer
Model: Disk model
InstanceId: Disk Instance Id
SMARTData:
 
              ID IDHex AttributeName Threshold Value Worst Data
              -- ----- ------------- --------- ----- ----- ----
              5 5 Reallocated Sectors Count 10 100 100 0
              9 9 Power-On Hours 0 98 98 8397
              12 C Power Cycle Count 0 99 99 22
              177 B1 Wear Range Delta 0 98 98 33
              179 B3 Used Reserved Block Count Total 10 100 100 0
              181 B5 Program Fail Count Total 10 100 100 0
              182 B6 Erase Fail Count 10 100 100 0
              183 B7 SATA Downshift Error Count 10 100 100 0
              187 BB Reported Uncorrectable Errors 0 100 100 0
              190 BE Temperature Difference 0 53 48 47
              195 C3 Hardware ECC Recovered 0 200 200 0
              199 C7 Ultra DMA CRC Error Count 0 100 100 0
              235 EB Good Block Count AND System(Free) Block Count 0 99 99 6
              241 F1 Total LBAs Written 0 99 99 12720469069</dev:code>
        <dev:remarks>
          <maml:para>The command gets disk SMART information from remote computer.</maml:para>
          <maml:para/>
          <maml:para/>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>Example 7: Get disk SMART info from remote computers without specifying -ComputerName parameter name</maml:title>
        <dev:code>Get-DiskSmartInfo SomeComputer
 
ComputerName: SomeComputer
Model: Disk model
InstanceId: Disk Instance Id
SMARTData:
 
              ID IDHex AttributeName Threshold Value Worst Data
              -- ----- ------------- --------- ----- ----- ----
              5 5 Reallocated Sectors Count 10 100 100 0
              9 9 Power-On Hours 0 98 98 8397
              12 C Power Cycle Count 0 99 99 22
              177 B1 Wear Range Delta 0 98 98 33
              179 B3 Used Reserved Block Count Total 10 100 100 0
              181 B5 Program Fail Count Total 10 100 100 0
              182 B6 Erase Fail Count 10 100 100 0
              183 B7 SATA Downshift Error Count 10 100 100 0
              187 BB Reported Uncorrectable Errors 0 100 100 0
              190 BE Temperature Difference 0 53 48 47
              195 C3 Hardware ECC Recovered 0 200 200 0
              199 C7 Ultra DMA CRC Error Count 0 100 100 0
              235 EB Good Block Count AND System(Free) Block Count 0 99 99 6
              241 F1 Total LBAs Written 0 99 99 12720469069</dev:code>
        <dev:remarks>
          <maml:para>The command gets disk SMART information from remote computer.</maml:para>
          <maml:para/>
          <maml:para/>
        </dev:remarks>
      </command:example>
      <command:example>
        <maml:title>Example 8: Get disk SMART info from remote computers using CimSessions.</maml:title>
        <dev:code>$Credential = Get-Credential
$CimSession_WSMAN = New-CimSession -ComputerName SomeComputer -Credential $Credential
 
$SessionOption = New-CimSessionOption -Protocol Dcom
$CimSession_DCOM = New-CimSession -ComputerName SomeAnotherComputer -SessionOption $SessionOption -Credential $Credential
 
Get-DiskSmartInfo -CimSession $CimSession_WSMAN, $CimSession_DCOM
 
ComputerName: SomeComputer
Model: Disk model
InstanceId: Disk Instance Id
SMARTData:
 
              ID IDHex AttributeName Threshold Value Worst Data
              -- ----- ------------- --------- ----- ----- ----
              5 5 Reallocated Sectors Count 10 100 100 0
              9 9 Power-On Hours 0 98 98 8397
              12 C Power Cycle Count 0 99 99 22
              177 B1 Wear Range Delta 0 98 98 33
              179 B3 Used Reserved Block Count Total 10 100 100 0
              181 B5 Program Fail Count Total 10 100 100 0
              182 B6 Erase Fail Count 10 100 100 0
              183 B7 SATA Downshift Error Count 10 100 100 0
              187 BB Reported Uncorrectable Errors 0 100 100 0
              190 BE Temperature Difference 0 53 48 47
              195 C3 Hardware ECC Recovered 0 200 200 0
              199 C7 Ultra DMA CRC Error Count 0 100 100 0
              235 EB Good Block Count AND System(Free) Block Count 0 99 99 6
              241 F1 Total LBAs Written 0 99 99 12720469069
 
 
ComputerName: SomeAnotherComputer
Model: Disk model
InstanceId: Disk Instance Id
SMARTData:
 
              ID IDHex AttributeName Threshold Value Worst Data
              -- ----- ------------- --------- ----- ----- ----
              5 5 Reallocated Sectors Count 10 100 100 0
              9 9 Power-On Hours 0 98 98 9584
              12 C Power Cycle Count 0 99 99 80
...</dev:code>
        <dev:remarks>
          <maml:para>The command gets disk SMART information from remote computers using CimSessions.</maml:para>
        </dev:remarks>
      </command:example>
    </command:examples>
    <command:relatedLinks />
  </command:command>
</helpItems>