Remove-​Azure​Rm​VM​Sql​Server​Extension

Removes a SQL Server extension from a virtual machine.

Syntax

Remove-AzureRmVMSqlServerExtension
      [-ResourceGroupName] <String>
      [-VMName] <String>
      [-Name] <String>
      [<CommonParameters>]

Description

The Remove-AzureRmVMSqlServerExtension cmdlet removes an AzureSQL Server extension from a virtual machine.

Examples

Example 1: Remove a SQL Server extension

PS C:\> Remove-AzureRMVMSqlServerExtension -ResourceGroupName "ResourceGroup11" -VMName "ContosoVM22" -Name "SqlIaaSAgent"

This command removes a SQL Server extension from the virtual machine named ContosoVM22.

Required Parameters

-Name

Specifies the name of the SQL Server the extension that this cmdlet removes.

Type:String
Aliases:ExtensionName
Position:2
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-ResourceGroupName

Specifies the name of the resource group of the virtual machine.

Type:String
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-VMName

Specifies the name of the virtual machine from which this cmdlet removes the SQL Server extension.

Type:String
Aliases:ResourceName
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False