< Back
Remove-NsxFirewallExclusionListMember
Post
NAME Remove-NsxFirewallExclusionListMember
SYNOPSIS
Removes a virtual machine from the exclusion list, which are excluded from
the distributed firewall
SYNTAX
Remove-NsxFirewallExclusionListMember [-VirtualMachine] <VirtualMachineInterop> [[-Connection] <PSObject>]
[<CommonParameters>]
DESCRIPTION
The 'Exclusion List' is a list of virtual machines which are excluded from
the distributed firewall rules. They are not protected and/or limited by it.
If a virtual machine has multiple vNICs, all of them are excluded from
protection.
VMware recommends that you place the following service virtual machines in
the Exclusion List
* vCenter Server.
* Partner service virtual machines.
* Virtual machines that require promiscuous mode.
This cmdlet removes a VM to the exclusion list
PARAMETERS
-VirtualMachine <VirtualMachineInterop>
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Connection <PSObject>
PowerNSX Connection object
Required? false
Position? 2
Default value $defaultNSXConnection
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
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Remove-NsxFirewallExclusionListMember -VirtualMachine (Get-VM -Name myVM)
Removes the VM myVM from the exclusion list
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-NsxFirewallExclusionListMember | Remove-NsxFirewallExclusionlistMember
Removes all vms from the exclusion list.
RELATED LINKS
SYNOPSIS
Removes a virtual machine from the exclusion list, which are excluded from
the distributed firewall
SYNTAX
Remove-NsxFirewallExclusionListMember [-VirtualMachine] <VirtualMachineInterop> [[-Connection] <PSObject>]
[<CommonParameters>]
DESCRIPTION
The 'Exclusion List' is a list of virtual machines which are excluded from
the distributed firewall rules. They are not protected and/or limited by it.
If a virtual machine has multiple vNICs, all of them are excluded from
protection.
VMware recommends that you place the following service virtual machines in
the Exclusion List
* vCenter Server.
* Partner service virtual machines.
* Virtual machines that require promiscuous mode.
This cmdlet removes a VM to the exclusion list
PARAMETERS
-VirtualMachine <VirtualMachineInterop>
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Connection <PSObject>
PowerNSX Connection object
Required? false
Position? 2
Default value $defaultNSXConnection
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
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Remove-NsxFirewallExclusionListMember -VirtualMachine (Get-VM -Name myVM)
Removes the VM myVM from the exclusion list
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-NsxFirewallExclusionListMember | Remove-NsxFirewallExclusionlistMember
Removes all vms from the exclusion list.
RELATED LINKS