Remove-AppvClientConnectionGroup
Remove-AppvClientConnectionGroup is accessible with the help of AppVClient module. To configure AppVClient, go through this link.
Synopsis
Deletes an App-V connection group on the client.
Description
The Remove-AppvClientConnectionGroup cmdlet deletes an existing Microsoft Application Virtualization (App-V) connection group on the client. All packages that were in the group are separated.
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 |
-GroupId
Specifies the GUID 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 App-V Connection Group.
Type: | String |
Position: | 0 |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-VersionId
Specifies the 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.
Type: | Guid |
Position: | 1 |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Syntax
Remove-AppvClientConnectionGroup [-GroupId] <Guid> [-VersionId] <Guid> [<CommonParameters>]
Remove-AppvClientConnectionGroup [-Name] <String> [<CommonParameters>]
Remove-AppvClientConnectionGroup [-ConnectionGroup] <AppvClientConnectionGroup> [<CommonParameters>]
——————-Example 1——————-
Remove a named connection group
PS C:\> Remove-AppvClientConnectionGroup -Name “AppGroup”
This command removes the connection group named AppGroup from the computer.
——————-Example 2——————-
Remove a connection group by using its ID
PS C:\> Remove-AppvClientConnectionGroup -GroupID <Group ID>
This command removes the connection group that has the group ID <Group ID>
——————-Example 3——————-
Remove all connection groups that have names that match a string
PS C:\> Get-AppvClientConnectionGroup -Name “AppGr*” | Remove-AppvClientConnectionGroup
This command finds any connection group that has the string AppGr in the name, and then removes them from the computer.
You can check the Version, CommandType and Source of this cmdlet by giving below command.
Get-Command Remove-AppvClientConnectionGroup
You can also read about
- Add-AppvClientConnectionGroup
- Disable-AppvClientConnectionGroup
- Enable-AppvClientConnectionGroup
- Get-AppvClientConnectionGroup
- Mount-AppvClientConnectionGroup
- Repair-AppvClientConnectionGroup
- Stop-AppvClientConnectionGroup