Created
May 1, 2024 13:07
-
-
Save angelotrivelli/42a52ca4397c1be3b422cd5fedafb81a to your computer and use it in GitHub Desktop.
powershell, list files that match a pattern (for example *.bin) in current directory, displaying name and LastWriteTime
This file contains hidden or 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 -File -Filter "*.bin" | Select-Object Name, @{Name='LastWriteTime'; Expression={$_.LastWriteTime.ToString("yyyy-MM-dd HH:mm:ss")}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment