Timeline for Powershell Script Error Connecting To SQL Server
Current License: CC BY-SA 3.0
18 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 15, 2020 at 9:05 | history | edited | CommunityBot |
Commonmark migration
|
|
Jan 3, 2017 at 16:04 | vote | accept | Franklin | ||
Dec 29, 2016 at 21:06 | comment | added | Franklin | Edited to show the errors. Hope you find it fits your fancy. @ShawnMelton | |
Dec 29, 2016 at 20:53 | history | edited | Franklin | CC BY-SA 3.0 |
added 491 characters in body
|
Dec 29, 2016 at 17:52 | comment | added | user507 | Uness you are going to show what error you were actually getting on the other server this question and answer is not going to help anyone. | |
Dec 29, 2016 at 15:40 | history | edited | Franklin | CC BY-SA 3.0 |
deleted 247 characters in body
|
Dec 29, 2016 at 15:39 | answer | added | Franklin | timeline score: -1 | |
Dec 29, 2016 at 15:39 | comment | added | Franklin | Thank you @jyao. I am still learning and over looked $_ | out-null. That gave me insight into my issue. | |
Dec 29, 2016 at 15:37 | history | edited | Franklin | CC BY-SA 3.0 |
added 228 characters in body
|
Dec 29, 2016 at 2:07 | history | edited | Paul White♦ | CC BY-SA 3.0 |
Removed fluff; improved formatting; edited tags
|
Dec 28, 2016 at 23:16 | review | Close votes | |||
Jan 6, 2017 at 17:58 | |||||
Dec 28, 2016 at 22:26 | comment | added | Franklin | Edited the code and trying a few things. Will update soon. Thank you. | |
Dec 28, 2016 at 22:16 | comment | added | jyao | Your should at least replace $_ | out-null with write-host $error[0].Exception, because | out-null makes the real failure message disappear. | |
Dec 28, 2016 at 22:07 | comment | added | Forrest |
Your script reports any error type as "Error connecting to server" Are you sure that's the case? Does a simple SELECT 1 in a single line Invoke-SqlCmd work?
|
|
Dec 28, 2016 at 22:06 | history | edited | Franklin | CC BY-SA 3.0 |
added 147 characters in body
|
Dec 28, 2016 at 21:52 | history | edited | Franklin | CC BY-SA 3.0 |
added 4 characters in body
|
Dec 28, 2016 at 21:48 | review | First posts | |||
Dec 28, 2016 at 23:16 | |||||
Dec 28, 2016 at 21:43 | history | asked | Franklin | CC BY-SA 3.0 |