PsSqlLegacy

PowerShell Wrapper for Legacy Tools SqlCmd and SqlPackage

View the Project on GitHub abbgrade/PsSqlLegacy

Initialize-LegacySqlCmd

SYNOPSIS

Configures SqlCmd

SYNTAX

Initialize-LegacySqlCmd [-Path] <FileInfo> [<CommonParameters>]

DESCRIPTION

Invoke-SqlCmd requires a path of the SQLCMD binary, that depend on your current installation.

EXAMPLES

Example 1

PS C:\> 

PARAMETERS

-Path

Path to the SQLCMD binary.

Type: FileInfo
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
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

OUTPUTS

NOTES