Mass Change File Extension with PowerShell

By: Cam Wohlfeil
Published: 2018-07-09 0000 EDT
Modified: 2018-09-04 0030 EDT
Category: Solutions
Tags: powershell

Another quick and easy one, this time we need a little help from the .NET Framework. I grabbed everything with a .md extention and changed it to .rst.

Get-ChildItem *.md | rename-item -newname { [io.path]::ChangeExtension($_.name, "rst") }

More Info: