Skip to content
This repository has been archived by the owner on Jan 19, 2020. It is now read-only.

Issue With Get-Datbases function #2

Open
jeffw59 opened this issue Dec 5, 2017 · 2 comments
Open

Issue With Get-Datbases function #2

jeffw59 opened this issue Dec 5, 2017 · 2 comments

Comments

@jeffw59
Copy link

jeffw59 commented Dec 5, 2017

I have installed the PSSQLIB module but I have an issue with named SQL instances when executing the Get-Databases function.

For SQL Server installed on the default MSSQLSERVER instance the module returns the database information as expected but for named instances I get an Error:Failed to connect to server.

I tried removing the port from the connect string and that worked for named instances on the default port 1433 but for instances on a none standard port the connection still fails.

Any suggestions would be appreciated.

Thanks and regards.

@sanderstad
Copy link
Owner

sanderstad commented Dec 5, 2017 via email

@jeffw59
Copy link
Author

jeffw59 commented Dec 6, 2017 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants