< Back

Get-NsxCliDfwFilter

Sat Jan 18, 2020 9:01 pm

NAME Get-NsxCliDfwFilter



SYNOPSIS

Uses the NSX Centralised CLI to retrieve the VMs VNIC filters.





SYNTAX

Get-NsxCliDfwFilter [-VirtualMachine] <VirtualMachineInterop> [[-Connection] <PSObject>] [<CommonParameters>]





DESCRIPTION

The NSX Centralised CLI is a feature first introduced in NSX 6.2. It

provides centralised means of performing read only operations against

various aspects of the dataplane including Logical Switching, Logical

Routing, Distributed Firewall and Edge Services Gateways.



The results returned by the Centralised CLI are actual (realised) state

as opposed to configured state. They show you how the dataplane actually

is configured at the time the query is run.



This cmdlet accepts a VM object, and leverages the Invoke-NsxCli cmdlet by

constructing the appropriate Centralised CLI command without requiring the

user to do the show cluster all -> show cluster domain-xxx -> show host

host-xxx -> show vm vm-xxx dance -> show dfw host host-xxx filter xxx rules

dance. It returns objects representing the Filters defined on each vnic of

the VM





PARAMETERS

-VirtualMachine <VirtualMachineInterop>

PowerCLI Virtual Machine object.



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





RELATED LINKS