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

Issue With Get-Datbases function #2

@jeffw59

Description

@jeffw59

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions