Rename files using PowerShell

IN PROGRESS
Bids
13
Avg Bid (USD)
$38
Project Budget (USD)
$30 - $50

Project Description:
Need a PowerShell script that will rename all files in a folder (and traverse down all subfolders). Files are in the format:

Movie Title D1234B9 category.avi

and need to be renamed like:

Movie Title.avi

For example, "Field of Dreams D4356B1 drama.avi" should be renamed to "Field of Dreams.avi"

So you just need to look for the format DXXXXXX and remove that and everything after it.

Skills required:
Data Entry, Data Processing
About the employer:
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.


$ 50
in 2 days
$ 40
in 1 days
$ 30
in 1 days
$ 50
in 2 days
$ 35
in 1 days
Hire giddielawson
$ 50
in 5 days
$ 30
in 1 days
$ 35
in 1 days
$ 30
in 1 days
$ 31
in 2 days