< Back

Remove-AzureAclConfig

Wed Jan 30, 2019 5:50 pm

NAME Remove-AzureAclConfig



SYNOPSIS

Removes an ACL configuration object from an Azure virtual machine configuration.





SYNTAX

Remove-AzureAclConfig [-EndpointName] <String> -VM <IPersistentVM> [-Profile <AzureSMProfile>] [-InformationAction <ActionPreference>]

[-InformationVariable <String>] [<CommonParameters>]





DESCRIPTION

The Remove-AzureAclConfig cmdlet removes an access control list (ACL) configuration object from an Azure virtual machine configuration.





PARAMETERS

-EndpointName <String>

Specifies the name of the endpoint from which this cmdlet removes the ACL configuration.



Required? true

Position? 0

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-VM <IPersistentVM>

Specifies the virtual machine from which this cmdlet removes an ACL configuration.



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 an ACL configuration --------------------------



PS C:\\>Get-AzureVM -ServiceName "ContosoService" -Name "VirtualMachine07" | Remove-AzureAclConfig -EndpointName "Web" | Update-AzureVM



This command gets the virtual machine named VirtualMachine07 in the service named ContosoService by using the Get-AzureVM cmdlet. The command passes

that object to the current cmdlet by using the pipeline operator. That cmdlet removes the ACL configuration for the endpoint named Web. The command

passes the result to the Update-AzureVM cmdlet, which updates the virtual machine.



RELATED LINKS

Get-AzureAclConfig

Get-AzureVM

New-AzureAclConfig

Set-AzureAclConfig

Update-AzureVM