Rename files in a directory before the extensions.
(Get-ChildItem -Recurse -File -Filter *.*) |
Rename-Item -NewName { $_.BaseName + ‘-anytext’ + $_.Extension }
Network Engineer – F.O.C.U.S Follow One Course Until Successful
Rename files in a directory before the extensions.
(Get-ChildItem -Recurse -File -Filter *.*) |
Rename-Item -NewName { $_.BaseName + ‘-anytext’ + $_.Extension }