0697名無し~3.EXE
2019/11/25(月) 13:12:59.17ID:pQn0gnzRエラー内容が「[System.Object[]] に 'replace' という名前のメソッドが含まれない」なら、これ↓じゃない?
https://stackoverflow.com/questions/35641714/system-object-doesnt-contain-a-methodnamed-replace
[IO.file]::ReadAllText('C:\a.txt').replace("aaa","bbb")|Out-File b.txt