As you can see from the title I need to make a script to get all of the media files
from particular path (sitecore/content/Media Library
for example) and to download those media files that are matching particular set of tags, or a simple tag.
In addition to that, how to actually tag the media files items? It does not have to be automatically done, just manual tagging, let's say it like that
If you have any tips on how to do it, or reference to similar script I would gladly appreciate it. Thank you in advance everybody!
$mediaItems = Get-ChildItem -Path master: -ID $mediaRootItem.ID -Recurse
the$mediaRootItem.ID
is something that can be selected with Powershell Report, if you understand what I am saying by that (basically the folder). I know how to select media items, but don't know how to select media items with tag