PowerShell Logo Small

Remove-VMNetworkAdapterExtendedAcl



This is the built-in help made by Microsoft for the command 'Remove-VMNetworkAdapterExtendedAcl', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Removes an extended ACL for a virtual network adapter.

SYNTAX


Remove-VMNetworkAdapterExtendedAcl [-VMName] <String[]> [-ComputerName <String[]>] [-Passthru] [-VMNetworkAdapterName <String>] -Direction
<VMNetworkAdapterExtendedAclDirection> -Weight <Int32> [-Confirm] [-WhatIf] [<CommonParameters>]
Remove-VMNetworkAdapterExtendedAcl [-ComputerName <String[]>] [-Passthru] [-VMNetworkAdapterName <String>] -Direction <VMNetworkAdapterExtendedAclDirection> -ManagementOS
-Weight <Int32> [-Confirm] [-WhatIf] [<CommonParameters>]
Remove-VMNetworkAdapterExtendedAcl [-VMNetworkAdapter] <VMNetworkAdapterBase[]> [-Passthru] -Direction <VMNetworkAdapterExtendedAclDirection> -Weight <Int32> [-Confirm]
[-WhatIf] [<CommonParameters>]
Remove-VMNetworkAdapterExtendedAcl [-VM] <VirtualMachine[]> [-Passthru] [-VMNetworkAdapterName <String>] -Direction <VMNetworkAdapterExtendedAclDirection> -Weight <Int32>
[-Confirm] [-WhatIf] [<CommonParameters>]
Remove-VMNetworkAdapterExtendedAcl [-InputObject] <VMNetworkAdapterExtendedAclSetting[]> [-Passthru] [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Remove-VMNetworkAdapterExtendedAcl cmdlet removes an extended access control list (ACL) for a virtual network adapter.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkID=294120
Add-VMNetworkAdapterExtendedAcl
Get-VMNetworkAdapterExtendedAcl
Get-VM
Get-VMNetworkAdapter

REMARKS

<

Examples


Example 1: Remove a specific ACL

PS C:\> Remove-VMNetworkAdapterExtendedAcl -VMName "TSQA01" –Direction InBound -Weight 50



This command removes the ACL for inbound traffic that has a weight of 50 from the virtual machine named TSQA01.




Example 2: Remove all ACLs

PS C:\> Get-VMNetworkAdapterExtendedAcl -VMName "TSQA01" | Remove-VMNetworkAdapterExtendedAcl



This command uses the Get-VMNetworkAdapterExtendedAcl cmdlet to get all the ACLs for the virtual machine named TSQA01, and then passes them to the current cmdlet by using
the pipeline operator. The command removes all the ACLs.