< Back

New-NsxServiceGroup

Sat Jan 18, 2020 9:19 pm

NAME New-NsxServiceGroup



SYNOPSIS

Creates a new Service Group to which new Services or Service Groups can

be added.





SYNTAX

New-NsxServiceGroup [-Name] <String> [[-Description] <String>] [[-scopeId] <String>] [-Universal]

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





DESCRIPTION

A service group is a container that includes Services and other Service

Groups. These Service Groups are used by the NSX Distributed Firewall

when creating firewall rules. They can also be referenced by Service

Composer's Security Policies.





PARAMETERS

-Name <String>



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Description <String>



Required? false

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-scopeId <String>

Scope of object. For universal object creation, use the -Universal switch.



Required? false

Position? 3

Default value globalroot-0

Accept pipeline input? false

Accept wildcard characters? false



-Universal [<SwitchParameter>]

Create the Service Group as Universal object.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-EnableInheritance [<SwitchParameter>]

Create the Service Group with the inheritance set. Allows the Service Group to be used at a lower scope.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-ReturnObjectIdOnly [<SwitchParameter>]



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-Connection <PSObject>

PowerNSX Connection object



Required? false

Position? 4

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:\\>New-NsxServiceGroup PowerNSX-SVG



Creates a new Service Group called PowerNSX-SVG



objectId : applicationgroup-53

objectTypeName : ApplicationGroup

vsmUuid : 42019B98-63EC-995F-6CBB-FF738D027F92

nodeId : 0dd7c0dd-a194-4df1-a14b-56a1617c2f0f

revision : 1

type : type

name : PowerNSX-SVG

description :

scope : scope

clientHandle :

extendedAttributes :

isUniversal : false

universalRevision : 0

inheritanceAllowed : false











RELATED LINKS