< Back

Get-NsxSpoofguardPolicy

Sat Jan 18, 2020 9:12 pm

NAME Get-NsxSpoofguardPolicy



SYNOPSIS

Retrieves Spoofguard policy objects from NSX.





SYNTAX

Get-NsxSpoofguardPolicy [[-Name] <String>] [-Connection <PSObject>] [<CommonParameters>]



Get-NsxSpoofguardPolicy [-objectId <String>] [-Connection <PSObject>] [<CommonParameters>]





DESCRIPTION

If a virtual machine has been compromised, its IP address can be spoofed

and malicious transmissions can bypass firewall policies. You create a

SpoofGuard policy for specific networks that allows you to authorize the IP

addresses reported by VMware Tools and alter them if necessary to prevent

spoofing. SpoofGuard inherently trusts the MAC addresses of virtual machines

collected from the VMX files and vSphere SDK. Operating separately from

Firewall rules, you can use SpoofGuard to block traffic determined to be

spoofed.



Use the Get-NsxSpoofguardPolicy cmdlet to retrieve existing SpoofGuard

Policy objects from NSX.





PARAMETERS

-Name <String>



Required? false

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-objectId <String>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Connection <PSObject>

PowerNSX Connection object



Required? false

Position? named

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:\\>Get-NsxSpoofguardPolicy



Get all Spoofguard policies









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-NsxSpoofguardPolicy Test



Get a specific Spoofguard policy











RELATED LINKS