How do I verify the checksum of a file?
Issue:
Using Microsoft PowerShell to verify the checksum of a file
Environment:
Any Downloaded Files that need Checksum Verification (Firmware/Software)
Cause:
A file can corrupt or be incomplete in many ways that can cause it to be "corrupt" and not match the full contents of the original file.
Resolution:
Verify the checksum of a file before using it to do firmware or software upgrades.
1) Open Windows PowerShell. In Windows 10, right-click on the start menu and select Open Windows PowerShell.
NOTE: Older versions of Windows may not come pre-installed with Microsoft PowerShell, but it can be downloaded from Microsoft's website and then ran from the start menu entry.
2) Navigate to the directory that contains your file, which is most likely the Downloads folder. This can be done using the Set-Location command: Set-Location C:\Users\<Username>\Downloads
3) Run the Get-FileHash command:
4) Verify the results with the expected values from the download page or documenation. If the checksums match, the file has not been corrupted.
Using Microsoft PowerShell to verify the checksum of a file
Environment:
Any Downloaded Files that need Checksum Verification (Firmware/Software)
Cause:
A file can corrupt or be incomplete in many ways that can cause it to be "corrupt" and not match the full contents of the original file.
Resolution:
Verify the checksum of a file before using it to do firmware or software upgrades.
1) Open Windows PowerShell. In Windows 10, right-click on the start menu and select Open Windows PowerShell.
NOTE: Older versions of Windows may not come pre-installed with Microsoft PowerShell, but it can be downloaded from Microsoft's website and then ran from the start menu entry.
2) Navigate to the directory that contains your file, which is most likely the Downloads folder. This can be done using the Set-Location command: Set-Location C:\Users\<Username>\Downloads
3) Run the Get-FileHash command:
Get-FileHash -path filename.txt -Algorithm XXX
To get a list of parameter values for Algorithm, you can use Get-Help Get-FileHash
MD5 Example: Get-FileHash -path filename.txt -Algorithm MD5
SHA1 Example: Get-FileHash -path filename.txt -Algorithm SHA1
SHA256 Example: Get-FileHash -path filename.txt -Algorithm SHA256
SHA1 Example: Get-FileHash -path filename.txt -Algorithm SHA1
SHA256 Example: Get-FileHash -path filename.txt -Algorithm SHA256
4) Verify the results with the expected values from the download page or documenation. If the checksums match, the file has not been corrupted.
게시 대상: 슈나이더 일렉트릭 Korea


도움이 필요하신가요?
제품 선택기
애플리케이션에 적합한 제품과 액세서리를 빠르고 쉽게 찾을 수 있습니다.
견적 받기
영업 관련하여 온라인으로 문의하시면 전문가가 연락드립니다.
구매처
해당 지역의 가장 가까운 슈나이더 일렉트릭 대리점을 쉽게 찾을 수 있습니다.
지원 센터
한 곳에서 모든 요구 사항에 대한 지원 리소스를 찾아보십시오.