PsSqlTestServer

Cmdlets to provide and manage SQL servers for tests.

View the Project on GitHub abbgrade/PsSqlTestServer

Test-SqlTestAzure

SYNOPSIS

Tests if a Azure-based SQL Server can be created.

SYNTAX

Test-SqlTestAzure [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

Checks whether the required Az modules are installed and an Azure account is authenticated.

EXAMPLES

EXAMPLE 1

Test-SqlTestAzure
Checks whether Azure-backed SQL Server operations can be used in the current session.
Illustrative output: $true when requirements are met and $false otherwise; results depend on installed modules and authentication.

PARAMETERS

-ProgressAction

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

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

bool

NOTES

https://abbgrade.github.io/PsSqlTestServer/docs/Test-SqlTestAzure.html