Skip to content

Latest commit

 

History

History
80 lines (59 loc) · 1.49 KB

Show-SqlConnection.md

File metadata and controls

80 lines (59 loc) · 1.49 KB
external help file Module Name online version schema
SimplySql.Cmdlets.dll-Help.xml
SimplySql
2.0.0

Show-SqlConnection

SYNOPSIS

Lists the current SqlConnection.

SYNTAX

single (Default)

Show-SqlConnection [[-ConnectionName] <String>] [<CommonParameters>]

all

Show-SqlConnection [-All] [<CommonParameters>]

DESCRIPTION

Lists the current SqlConnection information or outputs a list of all SqlConnections currently active.

EXAMPLES

Example 1

PS C:\> {{ Add example code here }}

{{ Add example description here }}

PARAMETERS

-All

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

-ConnectionName

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

System.String

OUTPUTS

System.Object

NOTES

RELATED LINKS