commands

^

Get-DbaConnectedInstance

Author Chrissy LeMaire (@cl), netnerds.net
Availability Windows, Linux, macOS

 

Synopsis

Get a list of all connected instances

Description

Get a list of all connected instances

Syntax

Get-DbaConnectedInstance
    [<CommonParameters>]

 

Examples

 

Example: 1
PS C:\> Get-DbaConnectedInstance

Gets all connected SQL Server instances

Example: 2
PS C:\> Get-DbaConnectedInstance | Select *

Gets all connected SQL Server instances and shows the associated connectionstrings as well

 

Want to see the source code for this command? Check out Get-DbaConnectedInstance on GitHub.
Want to see the Bill Of Health for this command? Check out Get-DbaConnectedInstance.