Difference between revisions of "Windows Command Line snippets"
From DevOps Notebook
(Created page with "=== Search and replace string from windows command line === <pre> c:\ powershell -Command "(gc somefile.txt) -replace 'foo', 'bar' | Out-File -encoding ASCII somefile.txt" </...") |
(No difference)
|
Latest revision as of 09:34, 29 August 2020
Search and replace string from windows command line
c:\ powershell -Command "(gc somefile.txt) -replace 'foo', 'bar' | Out-File -encoding ASCII somefile.txt"