Quantcast
Channel: PowerShell.org » All Posts
Viewing all articles
Browse latest Browse all 13067

Reply To: Invoke-Command with ; in script

$
0
0

Hey sir,

im getting the same thing. It runs. takes a few seconds to complete, but doesnt show any results of it running (and the package doesnt run)

can i confirm im running it like you suggested.

$sb_string4 = ‘DTEXEC –% /DTS “\”\MSDB\Example\test\”” /SERVER “\”PL-SSIS\”” /CONNECTION DBConnect;”\”Data Source=PL-SQL;Initial Catalog=example;Provider=SQLNCLI11.1;Integrated Security=SSPI;Auto Translate=False;\”” /CHECKPOINTING OFF /REPORTING V’

invoke-command -computername PL-SSIS -scriptblock { $ExecutionContext.InvokeCommand.NewScriptBlock($sb_string4) }

Thanks for the help!


Viewing all articles
Browse latest Browse all 13067

Trending Articles