Skip to content

Instantly share code, notes, and snippets.

@alexinnes
Created June 7, 2017 08:16
Show Gist options
  • Save alexinnes/603d5abcf1dd3e7290bc5995f005c47a to your computer and use it in GitHub Desktop.
Save alexinnes/603d5abcf1dd3e7290bc5995f005c47a to your computer and use it in GitHub Desktop.
Quick script to find long file names and outputs them to the out-gridview
get-childitem -path "H:\" -Recurse -Force | Where{$_.Fullname.Length -gt 200} | select fullname | Out-GridView
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment