Powershell: how do you read & write I/O within one pipeline?
As far as I remember (can't test now), you can read a whole file into memory with the namespace notation:
${c:file1.txt} = ${c:file1.txt} -replace "a" "o"
As far as I remember (can't test now), you can read a whole file into memory with the namespace notation:
${c:file1.txt} = ${c:file1.txt} -replace "a" "o"