darkoshi: (Default)
Darkoshi ([personal profile] darkoshi) wrote 2017-11-21 02:56 am (UTC)

Doing it with PowerShell was even much faster than UltraEdit.

I had used those get-content and replace commands before, in some of my batch files, for replacing strings. But I hadn't realized they could be used for regex searches too. And I hadn't remembered the commands.

The PowerShell syntax is very non-intuitive to me, which makes it hard to remember. (why does replace need a dash? it's not an option or parameter... Out-File sounds like an object to me, not a command, etc.)

Are there any PowerShell books or online tutorials that you would recommend?

Post a comment in response:

If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting