{"id":22951553,"url":"https://github.com/lifailon/crystaldisk-cli","last_synced_at":"2025-08-13T00:32:46.295Z","repository":{"id":219618839,"uuid":"749477858","full_name":"Lifailon/CrystalDisk-Cli","owner":"Lifailon","description":"Command line interface using PowerShell module for software CrystalDiskInfo","archived":false,"fork":false,"pushed_at":"2024-03-20T07:26:26.000Z","size":42,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"rsa","last_synced_at":"2024-09-01T00:48:20.414Z","etag":null,"topics":["cli","command-line-interface","command-line-tool","crystaldiskinfo","disk","disk-info","disk-smart","disk-usage","microsoft","monitoring","powershell","powershell-module","smart","windows"],"latest_commit_sha":null,"homepage":"https://www.nuget.org/packages/CrystalDisk-Cli","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Lifailon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-01-28T17:42:31.000Z","updated_at":"2024-08-21T21:54:37.000Z","dependencies_parsed_at":"2024-02-02T09:27:36.144Z","dependency_job_id":"e2cd81f8-0a8b-4b2a-972e-25dfc12f3b04","html_url":"https://github.com/Lifailon/CrystalDisk-Cli","commit_stats":{"total_commits":5,"total_committers":2,"mean_commits":2.5,"dds":"0.19999999999999996","last_synced_commit":"1dc5113b8ae4733d2f8fbe3e489563eec6e0cf66"},"previous_names":["lifailon/crystaldisk-cli"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lifailon%2FCrystalDisk-Cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lifailon%2FCrystalDisk-Cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lifailon%2FCrystalDisk-Cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lifailon%2FCrystalDisk-Cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lifailon","download_url":"https://codeload.github.com/Lifailon/CrystalDisk-Cli/tar.gz/refs/heads/rsa","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229717730,"owners_count":18113400,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","command-line-interface","command-line-tool","crystaldiskinfo","disk","disk-info","disk-smart","disk-usage","microsoft","monitoring","powershell","powershell-module","smart","windows"],"created_at":"2024-12-14T15:16:41.549Z","updated_at":"2024-12-14T15:16:41.942Z","avatar_url":"https://github.com/Lifailon.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CrystalDisk-Cli\n\n[![GitHub Release](https://img.shields.io/github/v/release/Lifailon/CrystalDisk-Cli?display_name=release\u0026logo=GitHub\u0026label=GitHub\u0026link=https%3A%2F%2Fgithub.com%2FLifailon%2FCrystalDisk-Cli%2F)](https://github.com/Lifailon/CrystalDisk-Cli)\n[![NuGet Version](https://img.shields.io/nuget/v/CrystalDisk-Cli?logo=NuGet\u0026label=NuGet\u0026link=https%3A%2F%2Fwww.nuget.org%2Fpackages%2FCrystalDisk-Cli)](https://www.nuget.org/packages/CrystalDisk-Cli)\n[![GitHub top language](https://img.shields.io/github/languages/top/Lifailon/CrystalDisk-Cli?logo=PowerShell\u0026link=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell)](https://github.com/PowerShell/PowerShell)\n[![GitHub License](https://img.shields.io/github/license/Lifailon/CrystalDisk-Cli?link=https%3A%2F%2Fgithub.com%2FLifailon%2FCrystalDisk-Cli%2Fblob%2Frsa%2FLICENSE)](https://github.com/Lifailon/CrystalDisk-Cli/blob/rsa/LICENSE)\n\nCommand line interface using PowerShell module for software [CrystalDiskInfo](https://github.com/hiyohiyo/CrystalDiskInfo).\n\nWhen the program CrystalDiskInfo scans for information about the state of physical disks using, it saves its data in an ini files. This module reads current and relevant data for provides information in the format of a PowerShell Object/Collection.\n\n## 🚀 Install\n\n💡 **Dependencies**. You must already have the [CrystalDiskInfo](https://crystalmark.info/en/software/crystaldiskinfo) software installed and running.\n\nPowerShell 5.1 and Core versions are supported.\n\nYou can install the module from the repository [nuget](https://www.nuget.org/packages/CrystalDisk-Cli):\n\n```PowerShell\nInstall-Module CrystalDisk-Cli -Repository NuGet\n```\n\n💡 You must have a NuGet repository registered:\n\n```PowerShell\nRegister-PSRepository -Name \"NuGet\" -SourceLocation \"https://www.nuget.org/api/v2\" -InstallationPolicy Trusted\n```\n\nGet list of available commands:\n\n```PowerShell\nImport-Module CrystalDisk-Cli\nGet-Command -Module CrystalDisk-Cli\n\nCommandType     Name                    Version    Source\n-----------     ----                    -------    ------\nFunction        ConvertFrom-Ini         0.2        CrystalDisk-Cli\nFunction        Get-DiskInfo            0.2        CrystalDisk-Cli\nFunction        Get-DiskInfoSettings    0.2        CrystalDisk-Cli\n```\n\n## 📑 Data\n\nGet an up-to-date report (starts the scanning and waits for the results to be finalized):\n\n```PowerShell\n\u003e Get-Date\n\n16 февраля 2024 г. 13:43:30\n\n\u003e Get-DiskInfo -Report | Select-Object Name,Date,HealthStatus,Temperature\n\nName                                  Date                HealthStatus Temperature\n----                                  ----                ------------ -----------\nMSI M390 250GB511220510128001162      2024/02/16 13:43:32 1            40\nST1000DM003-1CH162Z1DD33DT            2024/02/16 13:43:32 1            34\nWDC WD2005FBYZ-01YCBB2WD-WMC6N0L3JK47 2024/02/16 13:43:32 1            36\n```\n\nDisplays only the disk list:\n\n```PowerShell\n\u003e Get-DiskInfo -List\nMSI M390 250GB511220510128001162\nST1000DM003-1CH162Z1DD33DT\nWDC WD2005FBYZ-01YCBB2WD-WMC6N0L3JK47\n```\n\nGet all data (reads the last scan data by default):\n\n```PowerShell\n\u003e Get-DiskInfo\n\nName                    : MSI M390 250GB511220510128001162\nDate                    : 2024/02/16 13:43:32\nHealthStatus            : 1\nTemperature             : 40\nPowerOnHours            : 8752\nPowerOnCount            : 92\nLife                    : 62\nHostWrites              : 32030\nHostReads               : 5870\n01                      : 0\n02                      : 0\n03                      : 0\n04                      : 0\n05                      : 0\nReallocatedSectorsCount : 38\n06                      : 0\n07                      : 0\n08                      : 0\n09                      : 0\n0A                      : 0\n0B                      : 0\n0C                      : 0\n0D                      : 0\n0E                      : 0\n0F                      : 0\n\nName                      : ST1000DM003-1CH162Z1DD33DT\nDate                      : 2024/02/16 13:43:32\nHealthStatus              : 1\nTemperature               : 34\nPowerOnCount              : 44\n01                        : 116\n03                        : 98\n04                        : 100\n05                        : 100\nReallocatedSectorsCount   : 0\n07                        : 87\n09                        : 64\n0A                        : 100\n0C                        : 100\nB7                        : 100\nB8                        : 100\nBB                        : 100\nBC                        : 100\nBD                        : 99\nBE                        : 66\nBF                        : 100\nC0                        : 100\nC1                        : 76\nC2                        : 34\nC5                        : 100\nCurrentPendingSectorCount : 0\nC6                        : 100\nUncorrectableSectorCount  : 0\nC7                        : 200\nF0                        : 100\nF1                        : 100\nF2                        : 100\nPowerOnHours              : 31934\n\nName                      : WDC WD2005FBYZ-01YCBB2WD-WMC6N0L3JK47\nDate                      : 2024/02/16 13:43:32\nHealthStatus              : 1\nTemperature               : 36\nPowerOnCount              : 113\n01                        : 200\n03                        : 197\n04                        : 100\n05                        : 200\nReallocatedSectorsCount   : 0\n07                        : 200\n09                        : 82\n0A                        : 100\n0B                        : 100\n0C                        : 100\n10                        : 1\nB7                        : 100\nC0                        : 200\nC1                        : 198\nC2                        : 111\nC4                        : 200\nReallocationEventCount    : 0\nC5                        : 200\nCurrentPendingSectorCount : 0\nC6                        : 100\nUncorrectableSectorCount  : 0\nC7                        : 200\nC8                        : 100\nPowerOnHours              : 13318\n```\n\nExample on a laptop and PowerShell 5.1:\n\n```PowerShell\nPS C:\\Users\\lifailon\u003e Get-DiskInfo\n\nName                    : WD PC SN740 SDDPNQD-1T00-10272243A5454811\nDate                    : 2024/02/16 13:50:45\nHealthStatus            : 1\nTemperature             : 49\nPowerOnHours            : 1003\nPowerOnCount            : 444\nLife                    : 100\nHostWrites              : 10264\nHostReads               : 10050\n01                      : 0\n02                      : 0\n03                      : 0\n04                      : 0\n05                      : 0\nReallocatedSectorsCount : 0\n06                      : 0\n07                      : 0\n08                      : 0\n09                      : 0\n0A                      : 0\n0B                      : 0\n0C                      : 0\n0D                      : 0\n0E                      : 0\n0F                      : 0\n```\n\n## 🔧 Settings\n\nIf you run the `Get-DiskInfoSettings` command without parameters, it will return all current settings.\n\n\n\n```PowerShell\n\u003e Get-DiskInfoSettings\n\nDebugMode               : 0\nAutoRefresh             : 10\nStartupWaitTime         : 30\nTemperature             : 0\nResidentMinimize        : 0\nMegaRAID                : 1\nStartupFixed            : 1\nLanguage                : Russian\nStartup                 : 0\nX                       : 869\nY                       : 360\nResident                : 1\nHideSerialNumber        : 0\nGraphHeight             : 480\nGraphWidth              : 640\nHeight                  : 651\nShowTemperatureIconOnly : 1\nSelectedAttributeId     : 300\nTheme                   : Default\nSmartEnglish            : 0\n```\n\n♻️ To change the frequency of automatic scanning, use the `AutoRefresh` parameter (all parameters contain a prepared list).\n\n```PowerShell\n\u003e Get-DiskInfoSettings -AutoRefresh 5\n\nDebugMode               : 0\nAutoRefresh             : 5\nStartupWaitTime         : 30\nTemperature             : 0\nResidentMinimize        : 0\nMegaRAID                : 1\nStartupFixed            : 1\nLanguage                : Russian\nStartup                 : 0\nX                       : 869\nY                       : 360\nResident                : 1\nHideSerialNumber        : 0\nGraphHeight             : 480\nGraphWidth              : 640\nHeight                  : 651\nShowTemperatureIconOnly : 1\nSelectedAttributeId     : 300\nTheme                   : Default\nSmartEnglish            : 0\n```\n\nUse the `Startup` parameter to enable or disable an application to run in autoload mode. To enable or disable an application in agent mode, use the `Resident` parameter.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flifailon%2Fcrystaldisk-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flifailon%2Fcrystaldisk-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flifailon%2Fcrystaldisk-cli/lists"}