1

I need to change ~500 .html files to .aspx however I do not know how to do so through Powershell and I have not seen any other feasible way to do so.

Folder location:

\ \site\subsite\subsite\subsite\Shared%20Documents\schemas\Tables

1 Answer 1

0

Go to the folder location in Powershell and run this command:

Get-ChildItem *.html | Rename-Item -NewName { $_.Name -replace '\.html','.aspx' }

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.