Skip to content

Get-vRASecurityGroup

SYNOPSIS

Get a vRA Security Group

SYNTAX

Standard (Default)

Get-vRASecurityGroup [<CommonParameters>]

ById

Get-vRASecurityGroup -Id <String[]> [<CommonParameters>]

ByName

Get-vRASecurityGroup -Name <String[]> [<CommonParameters>]

DESCRIPTION

Get a vRA Security Group

EXAMPLES

EXAMPLE 1

Get-vRASecurityGroup

EXAMPLE 2

Get-vRASecurityGroup -Id '3492a6e8-r5d4-1293-b6c4-39037ba693f9'

EXAMPLE 3

Get-vRASecurityGroup -Name 'TestSecurityGroup'

PARAMETERS

-Id

The ID of the vRA Security Group

Type: String[]
Parameter Sets: ById
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-Name

The Name of the vRA Security Group

Type: String[]
Parameter Sets: ByName
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

System.String

OUTPUTS

System.Management.Automation.PSObject

NOTES