Get-AppvClientConnectionGroup

Returns an App-V connection group object.

Syntax

Get-AppvClientConnectionGroup
   [[-Name] <String>]
   [-All]
   [<CommonParameters>]
Get-AppvClientConnectionGroup
   [-GroupId] <Guid>
   [[-VersionId] <Guid>]
   [-All]
   [<CommonParameters>]

Description

The Get-AppvClientConnectionGroup cmdlet returns a specific Microsoft Application Virtualization (App-V) connection group object.

Examples

Example 1: Get all versions of a group by name

PS C:\> Get-AppvClientConnectionGroup -Name "MyConnectionGroup"

This command gets all versions of the enabled connection groups named MyConnectionGroup.

Example 2: Get a connection group by using its ID

PS C:\> Get-AppvClientConnectionGroup -GroupID 793afd37-bd68-4ea1-859a-669f6afd0aa8

This command gets the enabled connection group that has the group ID of 793afd37-bd68-4ea1-859a-669f6afd0aa8.

Example 3: Get all connection groups

PS C:\> Get-AppvClientConnectionGroup -All

This command gets all of the connection groups on the computer.

Parameters

-All

Indicates that the cmdlet returns all connection groups that have been added to the computer, not just those that are enabled to the current user.

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

-GroupId

Specifies the GUID of specific connection group.

Type:Guid
Position:0
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Name

Specifies the name of the App-V Connection Group.

Type:String
Position:0
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-VersionId

Specifies a GUID that differentiates a package version from other versions, whether older, newer, or of a completely different lineage. If you do not specify this parameter, the cmdlet operates on all versions of the package.

Type:Guid
Position:1
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

Microsoft.AppV.AppvClientPowerShell.AppvClientConnectionGroup

Notes

  • The cmdlet returns an error if the name of the specified App-V connection group cannot be found on the target computer.