---
title: "Discussion on \"How to compare file lengths with PowerShell\" | Hashnode"
description: "Discussion on \"How to compare file lengths with PowerShell\". After a file copy is complete, how can you be sure the entire file was copied? This can be done with the file length command in PowerShell. This will compare the length in bytes of each file and, combined with an if statement, is a way to perform rem..."
url: "https://hashnode.com/posts/how-to-compare-file-lengths-with-powershell/6388fb814fe6f559a4aa571c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to compare file lengths with PowerShell](https://johneverettcase.com/how-to-compare-file-lengths-with-powershell?utm_source=hashnode&utm_medium=feed)

After a file copy is complete, how can you be sure the entire file was copied? This can be done with the file length command in PowerShell. This will compare the length in bytes of each file and, combined with an if statement, is a way to perform rem...

Dec 1, 2022 · 1 min read · johneverettcase.com  
Read the article

-   [#powershell](https://hashnode.com/tag/powershell)

## Written by

[John Everett Case](https://hashnode.com/@johneverettcase)

@johneverettcase · Nebraska, US

  
[View profile](https://hashnode.com/@johneverettcase)

Developer, Writer

I am a developer from Nebraska in the US.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
