< Back

Remove-AzureVMAccessExtension

Wed Jan 30, 2019 5:51 pm

NAME Remove-AzureVMAccessExtension



SYNOPSIS

Removes the VMAccess extension applied on a virtual machine.





SYNTAX

Remove-AzureVMAccessExtension -VM <IPersistentVM> [-Profile <AzureSMProfile>] [-InformationAction <ActionPreference>] [-InformationVariable <String>]

[<CommonParameters>]





DESCRIPTION

The Remove-AzureVMAccessExtension cmdlet removes the VMAccess extension applied on a virtual machine.





PARAMETERS

-VM <IPersistentVM>

Specifies the persistent virtual machine object that this cmdlet removes the VMAccess extension from.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByValue, ByPropertyName)

Accept wildcard characters? false



-Profile <AzureSMProfile>

Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-InformationAction <ActionPreference>





Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-InformationVariable <String>





Required? false

Position? named

Default value None

Accept pipeline input? False

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 (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



NOTES









-------------------------- Example 1: Remove a VMAccess extension from a virtual machine --------------------------



PS C:\\>Remove-AzureVMAccessExtension -VM $VM;



This command removes a VMAccess extension from a virtual machine.



RELATED LINKS

Get-AzureVMAccessExtension

Set-AzureVMAccessExtension