You just need to add the -File parameter to exclude folders from the output:
(Get-ChildItem -Recurse -Exclude *.mp4 -File).FullName
You just need to add the -File parameter to exclude folders from the output:
(Get-ChildItem -Recurse -Exclude *.mp4 -File).FullName