Connection Groups is a feature of Microsoft Application Virtualization (App-V) 5.0 that links related packages and enabled them to interact with one another while still maintaining the sandbox style isolation from the system running them. Deploying the connection groups is done easily through a simple and straight-forward graphical user interface. After configuration, the connection group relies on an XML file that is automatically generated by System Center Configuration Manager or the App-V Management Server to retrieve instructions for what packages should be talking to each other, and what connection group they are a part of.

The creation, configuration, and provisioning of connection groups is simple enough, but packages and package versions can start to pile up in larger deployments without periodic disabling of groups, cleaning, and maintenance. With an ever-increasing list of connection groups and interoperating packages, it can quickly become unclear which packages are members of which connection group. This information can be found either by reading through the XML file or logging into the App-V server as an administrator and using the server console interface to list the connection groups and their associated packages. Depending on your App-V server setup, and how comfortable you are reading through XML files, these methods are less than ideal. There is currently no time effective method to retrieve this information through the client console.

Below are some PowerShell commands to obtain enabled and disabled connection groups and their corresponding members from the server or client console.

The following PowerShell command returns all enabled connection groups and their members:
          (Get-AppvClientConnectionGroup).GetPackages()

The following PowerShell command returns the specified connection group and members:
          (Get-AppvClientConnectionGroup -GroupId {group guid} -VersionId {version guid}).GetPackages()
In the above command, replace {group guid} with a GroupID and replaced {version guid} with a VersionID

The following PowerShell command returns the specified enabled connection group and members:
          (Get-AppvClientConnectionGroup -Name {cg name}).GetPackages()
In the above command, replace {cg name} with a group name.