Disable-AppvClientConnectionGroup
Disable-AppvClientConnectionGroup is accessible with the help of AppVClient module. To configure AppVClient, go through this link.
Synopsis
Disables a connection group on the computer running the App-V client.
Description
The Disable-AppvClientConnectionGroup cmdlet disables an already existing connection group on the computer that runs the Microsoft Application Virtualization (App-V) client.
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 |
-Global
Indicates that this cmdlet disables the connection group is disabled for all users that log into the target computer. Otherwise, it disables the connection group only for the currently running user.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-GroupId
Specifies the GUID associated with a 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 |
-UserSID
Specifies the SID of the intended user, in the form of S-1-2-34-56789012-3456789012-345678901-2345. This parameter requires elevated rights to run.
Type: | String |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-VersionId
Specifies a GUID that differentiates the connection group version from other versions. 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
Disable-AppvClientConnectionGroup [-Global] [-UserSID <String>] [-GroupId] <Guid> [-VersionId] <Guid> [<CommonParameters>]
Disable-AppvClientConnectionGroup [-Global] [-UserSID <String>] [-Name] <String> [<CommonParameters>]
Disable-AppvClientConnectionGroup [-Global] [-UserSID <String>] [-ConnectionGroup] <AppvClientConnectionGroup> [<CommonParameters>]
——————-Example 1——————-
Disable a connection group by using its name
PS C:\> Disable-AppvClientConnectionGroup -Name “AppGroup”
This command disables the connection group named AppGroup.
——————-Example 2——————-
Disable a connection group by using its ID
PS C:\> Disable-AppvClientConnectionGroup -GroupID <GroupID>
This command disables the connection group that has the group ID <GroupID>.
——————-Example 3——————-
Disable all connection groups by names that match a string
PS C:\> Get-AppvClientConnectionGroup -Name “AppGr*” | Disable-AppvClientConnectionGroup
This command gets all the connection groups that have the string AppGr in the name, and then disables them.
You can check the Version, CommandType and Source of this cmdlet by giving below command.
Get-Command Disable-AppvClientConnectionGroup
You can also read about
- Add-AppvClientConnectionGroup
- Enable-AppvClientConnectionGroup
- Get-AppvClientConnectionGroup
- Mount-AppvClientConnectionGroup
- Remove-AppvClientConnectionGroup
- Repair-AppvClientConnectionGroup
- Stop-AppvClientConnectionGroup