PsSqlLocalDb

PowerShell Wrapper for SqlLocalDB Utility.

View the Project on GitHub abbgrade/PsSqlLocalDb

Stop-LocalDbInstance

SYNOPSIS

stops a sqllocaldb instance.

SYNTAX

Stop-LocalDbInstance [-Name] <String> [-Force] [<CommonParameters>]

DESCRIPTION

EXAMPLES

EXAMPLE 1

$instance = New-LocalDbInstance
PS> $instance | Stop-LocalDbInstance

PARAMETERS

-Name

Specifies the name of the instance to stop.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Force

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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