Advertisement
easternnl

Copy Windows Spotlight Backgrounds

Dec 3rd, 2015
614
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $files = ls "C:\Users\$($env:username)\AppData\Local\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\Assets" | where { $_.length  -gt 500000 }
  2. foreach ($file in $files) { copy-item $file.fullname c:\Users\$($env:USERNAME)\Pictures\Background\$($file.basename).jpg }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement