Repair-AppvClientConnectionGroup

Resets the user package settings for the connection group.

Syntax

Repair-AppvClientConnectionGroup
      [-ConnectionGroup] <AppvClientConnectionGroup>
      [-Extensions]
      [-Global]
      [-UserState]
      [<CommonParameters>]
Repair-AppvClientConnectionGroup
      [-GroupId] <Guid>
      [-VersionId] <Guid>
      [-Extensions]
      [-Global]
      [-UserState]
      [<CommonParameters>]
Repair-AppvClientConnectionGroup
      [-Name] <String>
      [-Extensions]
      [-Global]
      [-UserState]
      [<CommonParameters>]

Description

The Repair-AppvClientConnectionGroup cmdlet resets the user settings of the connection group. Resetting the settings results in permanent loss of any user-specific application settings within the package. The settings are reset to their original state when the connection group was originally added to the system.

Examples

Example 1: Repair a named connection group

PS C:\> Repair-AppvClientConnectionGroup -Name MyGroup

This command repairs the connection group named MyGroup.

Example 2: Repair a connection group by using its ID

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

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

Example 3: Repair all connection groups that have names that match a string

PS C:\> Get-AppvClientConnectionGroup -Name MyGr* | Repair-AppvClientConnectionGroup

This command finds all of the connection groups that have the string MyGr in the name, and then repairs them.

Required Parameters

-ConnectionGroup

Not Specified

Type:AppvClientConnectionGroup
Position:0
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-GroupId

Specifies the group ID of specific connection group.

Type:Guid
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Name

Specifies the name of the Microsoft Application Virtualization (App-V) Connection Group.

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

Specifies a GUID that differentiates a connection group 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 connection group.

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

Optional Parameters

-Extensions

Indicates that the cmdlet repairs the extension points of a connection group only, and does not delete the user state of the connection group.

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

Not Specified.

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

Indicates that the cmdlet deletes the user state of the connection group only, and does not perform a repair on the extension points.

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

Inputs

Microsoft.AppvAgent.AppvClientConnectionGroup