Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
March Puzzle
get-childitem -Path .\FileShare -Recurse | where {$_.Name -match '[\u00C0-\u00D6]' -or $_.Name -match '[\u00D8-\u00F6]' -or $_.Name -match '[\u00F8-\u00FF]'} | foreach { [pscustomobject]@{'FileName' = $_.Name;'Directory' = $_.Directory;'Created' = $_.CreationTime;'Modified' = $_.LastAccessTime;'Size' = $_.Length} } | Format-Table -AutoSize
@jaywryan

This comment has been minimized.

Copy link
Owner Author

@jaywryan jaywryan commented Mar 6, 2016

First Attempt, not great with RegEx, probably a better way to do the match. I hate oneliners...but here it is

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment