Get-AppvClientConnectionGroup
Returns an App-V connection group object.
Syntax
ByName (Default)
Get-AppvClientConnectionGroup
[[-Name] <String>]
[-All]
[<CommonParameters>]
ByGuid
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.
Parameter properties
| Type: | SwitchParameter |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-GroupId
Specifies the GUID of specific connection group.
Parameter properties
| Type: | Guid |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
ByGuid
| Position: | 0 |
| Mandatory: | True |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-Name
Specifies the name of the App-V Connection Group.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
ByName
| Position: | 0 |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-VersionId
Specifies a GUID that differentiates a package version from other versions, whether older, newer, or of a different lineage. If you do not specify this parameter, the cmdlet operates on all versions of the package.
Parameter properties
| Type: | Guid |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
ByGuid
| Position: | 1 |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
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.