I don't know if this would be best done in PowerShell, but basically I have a lot of movies with names that are incorrect. The folder name for each movie is correct however.
Within a folder, I want to go through each folder and rename an .mp4 file to the same name as the folder.
Each folder has only an .mp4 file in it and a .jpg file, but I want to rename just the .mp4 file (although renaming both really wouldn't be bad either.)
Is there a simple way to do this in PowerShell?