Created
March 18, 2016 15:14
-
-
Save ProgrammingWithHandGrenades/f5d34850b90639949fbb to your computer and use it in GitHub Desktop.
March 2016 Scripting Games Solution demonstrating regex character class subtraction.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-ChildItem \\servername\sharename -Recurse -Force | | |
Where { $_.Name -match '[\u00C0-\u00FF -[\u00D7\u00F7]]'} | | |
ForEach-Object {[PSCustomObject]@{Name=$_.Name;Directory=$_.Directory;'Creation Date'=$_.CreationTime;'Last Modification Date'=$_.LastWriteTime;'File Size'=$_.Length} } | | |
Format-Table -AutoSize |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment