0

To create extra named instances for a already installed MS-SQL server
I usually re-run the installer...
and choose to add a new instance supplying the new name...

How can I do this from Powershell???
(I installed the SQLServer module but there is no 'New-Instance' commandlet there...)

Googlin' I saw some solution with Powershell+WMI but couldn't find one for new instance creation...

In last case...
if this can be done with c# (cs/csx) it is also an option...

?any ideas,,, Thx!

1
  • Excellent Question. Why would anyone downvote this question? Commented Dec 24, 2020 at 19:13

1 Answer 1

2

The only way to add a additional named instance is to use the installer. You can, Install SQL Server from the Command Prompt You can alternatively, run SQL Server instances in Docker containers.

Sign up to request clarification or add additional context in comments.

1 Comment

David, any chance in the future, creating another instance will be available from powershell?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.