0
(get-content z:\2.html) | foreach-object {$_ -replace "><", ">`r`nE<"} | set-content z:\2.html
これは、コマンドラインでPowerShellでは動作しますが、私はこれはSSISで動作させることはできません。
私は私が持っているSSISでエラーに
at "", The process exit code was "1" while the expected was "0".
を得る:
1. Created an "Execute process Task"
2. Pointed the Executable to system32\WIndowsPowershell .. etc
3. Added the argument as detailed above using a variable as the filename
任意のアイデア?それが動作するようになりまし
(get-content z:\3.html) | foreach-object {$_ -replace '><', '>`r`nE<'} | set-content z:\3.html
なぜPowerShellスクリプトをSSISで実行したいのですか? z:\ 2.htmlの次のステップは何ですか? –
テーブルを含むHTMLファイルに改行を追加しています。私はこれらのテーブルからデータを抽出するために読む。私は一度私は改行があるスクリプトでこれを行うことができます! – MiguelH