Skip to main content
7 events
when toggle format what by license comment
Jan 17, 2019 at 14:14 vote accept SLE
Jan 16, 2019 at 21:10 comment added Fredrik Svensson @SaintLouisEvents, added a row to my answer to check if the extension is ".mp4". Please mark as Answer if you are pleased. Cheers.
Jan 16, 2019 at 21:09 history edited Fredrik Svensson CC BY-SA 4.0
added 93 characters in body
Jan 16, 2019 at 20:59 comment added Fredrik Svensson @SaintLouisEvents, yes. You can find the file information on $item.File and to get the name, including the extension, you can use $item.File.Name. Use this to filter out the extensions with PowerShell.
Jan 16, 2019 at 20:00 comment added SLE Thanks so much Fredrik! This worked like a charm, is there a way that I can grab only the .mp4's? It's currently grabbing all files even the thumbnails. I have this if ($item.extension -eq "*mp4*"){ but it's not working well.
Jan 16, 2019 at 18:32 history edited Fredrik Svensson CC BY-SA 4.0
added 88 characters in body
Jan 16, 2019 at 18:08 history answered Fredrik Svensson CC BY-SA 4.0