TangentFox

List programs (Windows, scoop)

Aug 18th, 2018 (edited)
270
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Run anywhere, outputs to working directory
  2. #  program-files.txt   lists everything in both Program Files directories
  3. #  scoop-apps.txt      lists all scoop apps installed for current user
  4.  
  5. ls "C:\Program Files" -Name | Out-File ./program-files.txt -Encoding utf8
  6. ls "C:\Program Files (x86)" -Name | Out-File ./program-files.txt -Encoding utf8 -Append
  7.  
  8. scoop list *> ./scoop-apps.txt
Add Comment
Please, Sign In to add comment