Skip to content

Add a check for SqlServer module #15

Description

@snicol21

User was trying to use the ShowBatchSequences, and Invoke-SqlCmd is not working.
An article on the docs.microsoft.com says that with SSMS 17.0 and later you need to install the SqlServer module separately.

Install-Module -Name SqlServer

So it would be good after ShowBatchSequences is integrated into HCPosh, that we included a check for this module and install it if it doesn't already exist:

Article for more details:
https://docs.microsoft.com/en-us/sql/powershell/download-sql-server-ps-module?view=sql-server-2017

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions