0296デフォルトの名無しさん垢版2020/06/01(月) 00:21:41.64ID:vdF2NbM2 余分な空白さえ消えればいいなら Out-String -Stream | ?{$_ -ne ""} | %{$_.trim()}