Site icon TOSS

Enable-AppvClientConnectionGroup

powershell

Enable-AppvClientConnectionGroup is accessible with the help of AppVClient module. To configure AppVClient, go through this link.

Synopsis

Enables a running connection group on the computer running the App-V client.

Description

The Enable-AppvClientConnectionGroup cmdlet enables a connection group to 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 enables the connection group is disabled for all users that log into the target computer. Otherwise, it enables 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 ID associated with a 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 a 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


—————-Example 1—————-
Enable a connection group by using its name
PS C:\> Enable-AppvClientConnectionGroup -Name “AppGroup” -Global
This command enables the connection group named AppGroup to all users on the computer.

—————-Example 2—————-
Enable a connection group by using its ID
PS C:\> Enable-AppvClientConnectionGroup -GroupID <GroupID>
This command enables the connection group that has the group ID <GroupID>

—————-Example 3—————-
Enable all connection groups by names that match a string
PS C:\> Get-AppvClientConnectionGroup -Name “AppGr*” | Enable-AppvClientConnectionGroup
This command finds all connection groups that have the string APPGr in the name, and then enables them.

You can check the Version, CommandType and Source of this cmdlet by giving below command.

Get-Command Enable-AppvClientConnectionGroup



You can also read about


To know more PowerShell cmdlets(Commands) on AppVClient click here

Click on this Link for an Single place where you get all the PowerShell cmdlet sorted based on the modules.

You can also refer other blogs on PowerShell at link

You can also refer other blogs on Microsoft at link

And also if you required any technology you want to learn, let us know below we will publish them in our site http://tossolution.com/

Like our page in Facebook and follow us for New technical information.

References are taken from Microsoft

Exit mobile version