Skip to main content

Get-CriticalDiskInfo

Description

Gathers data pulled from the CrystalDiskInfo application and imports that data into RMM.

Requirements

  • PowerShell V5

Usage

  1. Downloads CrystalDiskInfo.
  2. Runs the executable silently.
  3. Parses the created .txt file.
  4. Generates objects based on the output.
  5. Returns the objects.
$GetDiskInfo = .\Get-CriticalDiskInfo.ps1

Output

Location of output for log, result, and error files:

  • .\\Get-CriticalDiskInfo-log.txt
  • .\\Get-CriticalDiskInfo-error.txt