Batch-remove file extension

A simple PowerShell one-liner to batch-remove the extension of multiple files.

Replace .ext with the extension that should be removed.

PS> Get-ChildItem *.ext | % { Rename-Item $_.FullName -NewName $_.BaseName }