Created
September 1, 2021 11:19
-
-
Save kurema/9d531681517bfbd7a62efda813877ce2 to your computer and use it in GitHub Desktop.
Powershellでファイルの内容で置換する方法をメモ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "test" > .\out.txt | |
$text=Get-Content .\out.txt | |
$text=$text.Replace("te","fa") | |
Write-Output $text | Out-File out2.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment