< Back

Add-NsxSecurityGroupMember

Sat Jan 18, 2020 8:59 pm

NAME Add-NsxSecurityGroupMember



SYNOPSIS

Adds a new member to an existing NSX Security Group.





SYNTAX

Add-NsxSecurityGroupMember [-SecurityGroup] <Object> [-FailIfExists] [-MemberIsExcluded] -Member <Object[]>

[-Connection <PSObject>] [<CommonParameters>]





DESCRIPTION

An NSX Security Group is a grouping construct that provides a powerful

grouping function that can be used in DFW Firewall Rules and the NSX

Service Composer.



This cmdlet adds a new member to an existing NSX Security Group.



A Security Group can consist of Static Includes and Excludes as well as

dynamic matching properties. At this time, this cmdlet supports only static

include/exclude members.



A valid PowerCLI session is required to pass certain types of objects

supported by the IncludeMember and ExcludeMember parameters.





PARAMETERS

-SecurityGroup <Object>

SecurityGroup whose membership is to be modified.



Required? true

Position? 2

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-FailIfExists [<SwitchParameter>]

Throw an error if the member already exists (by default will ignore)



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-MemberIsExcluded [<SwitchParameter>]

The specified members are to be added to the security group as exclusions



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-Member <Object[]>

The member(s) to be added



Required? true

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





RELATED LINKS