Powershell Change The Extension Of All Files In A Folder

Someone had to change the extension of some files in order to send them or upload them to share. That’s fine but there’s so many of them! It will take forever to rename them all manually. There must be an easier way. Let’s look at how to use PowerShell to change the extension of all files in a folder:

Open PowerShell:

Navigate to the Target Folder:

List Files in the Folder:

Change Extensions:

Verify Changes:

Exit PowerShell:

Note: