< Back

Remove-AzureRmVMAEMExtension

Tue Jan 29, 2019 9:38 pm

NAME Remove-AzureRmVMAEMExtension



SYNOPSIS

Removes the AEM extension from a virtual machine.





SYNTAX

Remove-AzureRmVMAEMExtension [-ResourceGroupName] <String> [-VMName] <String> [[-Name] <String>] [[-OSType] <String>] [-DefaultProfile

<IAzureContextContainer>] [<CommonParameters>]





DESCRIPTION

The Remove-AzureRmVMAEMExtension cmdlet removes the Azure Enhanced Monitoring (AEM) extension from a virtual machine.





PARAMETERS

-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Name <String>

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



Required? false

Position? 2

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-OSType <String>

Specifies the type of the operating system of the operating system disk. If the operating system disk does not have a type, you must specify

this parameter. The acceptable values for this parameter are: Windows and Linux.



Required? false

Position? 3

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ResourceGroupName <String>

Specifies the name of the resource group of a virtual machine. This cmdlet removes the AEM extension from that virtual machine.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-VMName <String>

Specifies the name of a virtual machine. This cmdlet removes the AEM extension for the virtual machine that this parameter specifies.



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None

This cmdlet does not accept any input.





OUTPUTS

Microsoft.Azure.Commands.Compute.Models.PSAzureOperationResponse







NOTES









Example 1: Remove the AEM extension



PS C:\\> Remove-AzureRmVMAEMExtension -ResourceGroupName "ResourceGroup11" -VMName "contoso-server"



This command removes the AEM extension for the virtual machine named contoso-server.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... mextension

Get-AzureRmVMAEMExtension

Set-AzureRmVMAEMExtension

Test-AzureRmVMAEMExtension