external help file | Module Name | online version | schema |
---|---|---|---|
SimplySql.Cmdlets.dll-Help.xml |
SimplySql |
2.0.0 |
Lists the current SqlConnection.
Show-SqlConnection [[-ConnectionName] <String>] [<CommonParameters>]
Show-SqlConnection [-All] [<CommonParameters>]
Lists the current SqlConnection information or outputs a list of all SqlConnections currently active.
PS C:\> {{ Add example code here }}
{{ Add example description here }}
If present, will return list of all connection names.
Type: SwitchParameter
Parameter Sets: all
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
User defined name for connection.
Type: String
Parameter Sets: single
Aliases: cn
Required: False
Position: 0
Default value: default
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.