looping through server list to ping without script tasks

  • I am using execute SQL task to capture all server list from a column from a SQL table(serverslist,flag) and then for each server I am pinging the server using ping.exe in a SSIS process task within a for each loop container.It seems to be running fine.But how do I capture the failed and successfully pinged servers either as separate text files or dump successful pings into one table/column and unsuccessful ones into a different table/column

    or flag the successfull ones as 1 and unsuccessful ones as 0 in the same table as the servers lists

    under a different column called flag.

    Thanks

  • Hi

    Please take a look for that example http://sqlmag.com/sql-server-integration-services/ssis-package-pings-servers, it doesn't require Task Script control to check servers.

    Thanks

    Mike

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply