Skip to main content
4 events
when toggle format what by license comment
Aug 27, 2016 at 1:48 comment added Kevin R. As an example, this: Dir | Rename-Item –NewName { $_.name –replace “ “,”_” } That will replace all the spaces in the current directory with underscores. In your case, you could replace " (" with "" and then replace ")" with nothing as well (I.e., -NewName {$_.name -replace " (", ""} For full details, see here: [link]howtogeek.com/111859/…
Aug 27, 2016 at 1:30 comment added Animatoring How could this be done with PowerShell?
Aug 27, 2016 at 1:14 vote accept Animatoring
Aug 27, 2016 at 1:05 history answered Kevin R. CC BY-SA 3.0