1
2
3
4
5
|
PowerShell> Get-ChildItem -Path .\* -Include *.mp4 -Recurse
PowerShell> Get-ChildItem -Recurse -Path C:\ | Where-Object {$_.Length gt 1MB}
PowerShell> Get-ChildItem -Path .\* -Include *.mp4 -Recurse | Where-Object { $_.CreationTime -lt '2024-01-01' }
# exclu des fichiers. Semble ne fonctionner que pour les fichiers, et pas pour les répertoires
PowerShell> Get-ChildItem -Path . -Recurse -Exclude ('node_modules', 'node', 'target','*.jar') -File
|