Hi, folks, I've been running into this issue with some consistency. I'm hoping it's as simple as "I didn't put an escape clause in there" but I've had no luck understanding what I'm doing wrong.
I'm trying to rename files in bulk by simply adding a prefix to their filenames. Here's the command I used most recently, applied to a folder with 174 files:
Get-ChildItem -File | Rename-Item -NewName { "MYNEWPREFIX_" + $_.BaseName + $_.Extension }
In this example, the first 170 items were renamed, and the MYNEWPREFIX string was added multiple times (35 or 36 times, according to the individual files I verified). Over the past week or so, this command (and I think some other ones as well) have a





