I'm wanting to clean-up the media library, I have a script that outputs unused media library IDs. I then want to grab the media item associated with these IDs and download them to a temporary folder (ie SitecoreTempFolderi.e. SitecoreTempFolder
). I've tried Send-FileSend-File
and Out-DownloadOut-Download
but these both store items to the local download folder which is not viable.
I'm just after the actual media item/file and not the sitecoreSitecore item. I have also attempted to use the move-item/copy-item but these cannot transfer between sitecoreSitecore and local/temp folders.
Many thanks in advance for any advice!