I'm writing a script to move through a list of SQL Servers. I make a connectivity check on each in the list. My problem now is the error handling. If I cannot connect to the server, I want to write to a log file and move to the next server on the list, but I'm having problems catching the error within the script. "SQL SERVER DOES NOT EXIST OR ACCESS DENIED" 80004005 pops up.
Ideas??
Thanks in advance
;-)
Ideas??
Thanks in advance
;-)