Repair-AppvClientConnectionGroup
Repair-AppvClientConnectionGroup is accessible with the help of AppVClient module. To configure AppVClient, go through this link.
Synopsis
Resets the user package settings for the connection group.
Description
The Repair-AppvClientConnectionGroup cmdlet resets the user settings of the connection group. Resetting the settings causes permanent loss of any user-specific application settings in the package. The settings are reset to their original state when the connection group was originally added to the system.
Parameters
-ConnectionGroup
Specifies an App-V Connection Group object.
Type: | AppvClientConnectionGroup |
Position: | 0 |
Default value: | None |
Accept pipeline input: | True (ByValue) |
Accept wildcard characters: | False |
-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
Indicates that this cmdlet resets user settings for the specified packages for all users on the computer. Usage of the Global parameter requires administrative credentials.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
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 |
-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 |
-VersionId
Specifies a GUID that differentiates a connection group 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 connection group.
Type: | Guid |
Position: | 1 |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Syntax
Repair-AppvClientConnectionGroup [-Global] [-UserState] [-Extensions] [-GroupId] <Guid> [-VersionId] <Guid> [<CommonParameters>]
Repair-AppvClientConnectionGroup [-Global] [-UserState] [-Extensions] [-Name] <String> [<CommonParameters>]
Repair-AppvClientConnectionGroup [-Global] [-UserState] [-Extensions] [-ConnectionGroup] <AppvClientConnectionGroup> [<CommonParameters>]
——————-Example 1——————-
Repair a named connection group
PS C:\> Repair-AppvClientConnectionGroup -Name “AppGroup”
This command repairs the connection group named AppGroup.
——————-Example 2——————-
Repair a connection group by using its ID
PS C:\> Repair-AppvClientConnectionGroup -GroupID <GroupId>
This command repairs the connection group that has the group ID <GroupId>
——————-Example 3——————-
Repair all connection groups that have names that match a string
PS C:\> Get-AppvClientConnectionGroup -Name “AppGr*” | Repair-AppvClientConnectionGroup
This command finds all of the connection groups that have the string AppGr in the name, and then repairs them.
You can check the Version, CommandType and Source of this cmdlet by giving below command.
Get-Command Repair-AppvClientConnectionGroup
You can also read about
- Add-AppvClientConnectionGroup
- Disable-AppvClientConnectionGroup
- Enable-AppvClientConnectionGroup
- Get-AppvClientConnectionGroup
- Mount-AppvClientConnectionGroup
- Remove-AppvClientConnectionGroup
- Stop-AppvClientConnectionGroup