Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Remove-AzureVMExtension

Remove-AzureVMExtension

microsoft.windowsazure.commands.servicemanagement.dll, microsoft.azure.commands.compute.dll

Synopsis

This cmdlet removes resource extensions from VMs.

Syntax

Remove-AzureVMExtension [-ExtensionName] [-Publisher] [-VM] [<CommonParameters>]

Remove-AzureVMExtension [-ReferenceName] [-VM] [<CommonParameters>]

Remove-AzureVMExtension [-RemoveAll] [-VM] [<CommonParameters>]

Detailed Description

This cmdlet removes resource extensions from VMs.

Parameters

-ExtensionName <String>

The Extension Name.

Aliases

None

Required?

true

Position

1

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-Publisher <String>

The Extension Publisher.

Aliases

None

Required?

true

Position

2

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-VM <IPersistentVM>

Aliases

None

Required?

true

Position

named

Default value

None

Accept pipeline input?

true (ByValue, ByPropertyName)

Accept wildcard characters?

false

-ReferenceName <String>

The extension's reference name.

Aliases

None

Required?

true

Position

1

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-RemoveAll <SwitchParameter>

Specify to remove all extensions.

Aliases

None

Required?

true

Position

1

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

Input Type


Return Type


Notes

Examples

-------------------------- EXAMPLE 1 --------------------------

Description

PS C:\> $vm = Remove-AzureVMExtension -VM $vm -ExtensionName $ext -Publisher $pub;

-------------------------- EXAMPLE 2 --------------------------

Description

PS C:\> $vm = Remove-AzureVMExtension -VM $vm -RemoveAll;

Unknown