Date: 2017-11-21 02:56 am (UTC)From: [personal profile] darkoshi
darkoshi: (Default)
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?
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

July 2025

S M T W T F S
  1234 5
6 789101112
13141516171819
20212223242526
2728293031  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Thursday, July 10th, 2025 12:02 pm
Powered by Dreamwidth Studios