< Back

Get-NsxServiceGroupMember

Sat Jan 18, 2020 9:12 pm

NAME Get-NsxServiceGroupMember



SYNOPSIS

Retrieves a list of services within an NSX Service Groups.





SYNTAX

Get-NsxServiceGroupMember [-ServiceGroup] <XmlElement> [[-scopeId] <String>] [[-objectId] <String>] [[-Connection]

<PSObject>] [<CommonParameters>]





DESCRIPTION

Lists all serivces associated to an NSX Service Groups. Service groups

contain a mixture of selected ports to represent a potential grouping

of like ports.



This cmdlet retrieves the member services within a Service Group for

specific or all Service Groups





PARAMETERS

-ServiceGroup <XmlElement>



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-scopeId <String>



Required? false

Position? 2

Default value globalroot-0

Accept pipeline input? false

Accept wildcard characters? false



-objectId <String>



Required? false

Position? 3

Default value

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:\\>Get-NsxServiceGroup | Get-NsxServiceGroupMember



Retrieves all members of all Service Groups. You are brave.









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



PS C:\\>Get-NsxServiceGroup Heartbeat | Get-NsxServiceGroupMember



Retrieves all members of the Service Group Heartbeat

e.g:



objectId : application-70

objectTypeName : Application

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

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

revision : 2

type : type

name : Vmware-VCHeartbeat

scope : scope

clientHandle :

extendedAttributes :

isUniversal : false

universalRevision : 0



objectId : application-180

objectTypeName : Application

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

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

revision : 2

type : type

name : Vmware-Heartbeat-PrimarySecondary

scope : scope

clientHandle :

extendedAttributes :

isUniversal : false

universalRevision : 0











RELATED LINKS