Execute Process Task For PING.EXE
Hi Gurus,,,
I have Created SSIS Package to check Server Status using Execute Process Task and Provided the below values
Executable: C:\WINDOWS\system32\ping.exe
ArgumentS:192.168.1.5
I wanted to send the output of this command to Text file Hence created Variable "User::OutPutPath" and assigned to standardoutput Variable.
However command output is not logging to output file. what could be the problem.
Malatesh Kakade
November 19th, 2010 10:25am
I'll dodge the question, but once you resolve this point I assume you're next task will be to parse the variable output to determine the status?
I think I have a better idea, use a script task instead so you can get detailed info in a more structured way. There is even a class for just this purpose it seems -
http://msdn.microsoft.com/en-us/library/system.net.networkinformation.ping(v=VS.80).aspxhttp://www.sqlis.com | http://www.konesans.com
Free Windows Admin Tool Kit Click here and download it now
November 19th, 2010 10:34am
You may want to use the "User::OutPutPath"variable content to write it to a file using the Script Task.
Arthur My Blog
November 19th, 2010 10:36am
Thanks for the Pointer Sir....Malatesh Kakade
Free Windows Admin Tool Kit Click here and download it now
November 19th, 2010 10:53am