Windows標準コマンド (PowerShell) を使ってsedっぽいことを実現する

Windows標準コマンド (PowerShell) を使って、sedと同様の処理を実現するコマンドを記載します。