1

Using powershell scripts how can I connect to the standalone NosDB database?

Connect-DatabaseCluster apparently connects to the cluster by default.

Community
  • 1
  • 1
Butt
  • 51
  • 4

1 Answers1

2

If you do

 get-help Connect-DatabaseCluster -full

You'll get a list of all the possible values. The important one for you is

-StandAlone [<SwitchParameter>]
Specifies if the database is standalone.

Required?                    false
Position?                    named
Default value
Accept pipeline input?       true (ByValue, ByPropertyName)
Accept wildcard characters?  false

So your command changes to

Connect-DatabaseCluster -StandAlone

Its written in the documentation

Basit Anwer
  • 6,742
  • 7
  • 45
  • 88