PsSqlTestServer

Cmdlets to provide and manage SQL servers for tests.

View the Project on GitHub abbgrade/PsSqlTestServer

New-SqlTestAzureInstance

SYNOPSIS

Returns connection parameter for a Azure SQL Server.

SYNTAX

New-SqlTestAzureInstance [[-Subscription] <String>] [<CommonParameters>]

DESCRIPTION

Creates a Azure SQL Server and returns a object with the properties DataSource and ConnectionString.

EXAMPLES

EXAMPLE 1

New-SqlTestAzureInstance -Subscription 'MyAzureSubscription'

PARAMETERS

-Subscription

Specifies the Azure Subscription name.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
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