Viewing 15 posts - 196 through 210 (of 285 total)
Thanks Gary !:-)
December 18, 2009 at 8:19 am
Hi Gary,
I am still facing problems:
I am using following final script.
Foreach ($file in get-ChildItem \\serverName\NewFolder\SSIS_Script_Runner_Test\OutputLogs\ -include *.txt -recurse)
{
# Assuming it is an array returned
$messages...
December 17, 2009 at 1:37 pm
Gary Thanks again !
I modified what you have mentioned as below:
# Deal with each text file in turn
Foreach ($file in get-ChildItem \\servername\OutputLogs\ -include *.txt -recurse)
{
# Assuming...
December 16, 2009 at 11:31 am
Gary,
I am using your 2nd code as that will send less emails to the team with all files attached, but I am getting following error:
Missing 'in' after variable in foreach...
December 15, 2009 at 11:39 am
Gary Istvan Varga (12/13/2009)
FYI Jeffrey Snover is the MS guy for PowerShell. No Jeffrey Snover, no PowerShell (some of his colleagues will have...
December 14, 2009 at 1:59 pm
John Rowan (12/11/2009)
I want to capture that failure message for any failing script and email that output file to the user group.
If you've set up the script task...
December 11, 2009 at 1:52 pm
Gary Istvan Varga (12/11/2009)
December 11, 2009 at 12:51 pm
Gary Istvan Varga (12/11/2009)
The first part is selecting all .txt files (output: file objects).
The second part is selecting each line of text that matches...
December 11, 2009 at 10:25 am
Jack Corbett (12/11/2009)
get-ChildItem -include *.txt -recurse | select-String -pattern "Msg","Level"|Move-Item -destination [path]
I don't know how to email the files in...
December 11, 2009 at 10:00 am
John Rowan (12/8/2009)
I am stuck with the event handler part and send mail task !
Why the event handler has execute SQL task with a dummy statement ?
Also the variables...
December 8, 2009 at 8:18 pm
John,
Any ideas for the issue I am facing.
1. I want to fail the execute process task only if the script fails and log the error message.
2. Send email.
You can refer...
December 8, 2009 at 9:29 am
RBarryYoung (12/5/2009)
Also, an FYI for next time: SSIS questions will get better response in the Integration Services forum.
As it was a string manipulation question, so thought of posting here....
December 6, 2009 at 9:00 am
Perfect paul and steve !
After posting this I was playing with SSIS string function and I was able to figure out:
@[User::ScriptFolder] + RTRIM( SUBSTRING (@[User::filename],31,40) )
Thanks for help,
\\K...
December 5, 2009 at 7:54 pm
becklery (12/4/2009)
http://cognitivecache.blogspot.com/2008/08/log4j-writing-to-dynamic-log-file-for.html%5B/quote%5D
Can this be used in SSIS ? If yes,...
December 4, 2009 at 11:42 am
Thanks John for your detailed post !
Your approach is very good, but I have a limitation that I cannot modify the package, but can add functionality to it.
The only point...
December 3, 2009 at 10:01 pm
Viewing 15 posts - 196 through 210 (of 285 total)