windows:powershell

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
windows:powershell [2022/03/15 03:10] adminwindows:powershell [2022/09/21 07:22] (current) admin
Line 8: Line 8:
  
 <code powrshell> <code powrshell>
-# список файлов+# список файлов - list files powershell
  $filter= "avi"  $filter= "avi"
  $source="K:\Остеопатия\массаж"  $source="K:\Остеопатия\массаж"
Line 29: Line 29:
              #| Select-Object -Property Length              #| Select-Object -Property Length
         }         }
 +</code>
 +
 +<code bash>
 +# put files in list
 +Get-ChildItem -Recurse -Include *.pdf| Format-Table name -hidetableheaders | Out-File 'pdf list.txt'
 </code> </code>
  
  • windows/powershell.1647313822.txt.gz
  • Last modified: 2022/03/15 03:10
  • by admin