Stop-AppvClientConnectionGroup

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

Synopsis

Shuts down the shared virtual environment of a connection group.

Description

The Stop-AppvClientConnectionGroup cmdlet shuts down the shared virtual environment of a connection group. All running processes in the connection group virtual environment are shutdown.

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 the cmdlet shuts down virtual environments for the specified connection groups 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 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 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 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

Stop-AppvClientConnectionGroup [-Global] [-GroupId] <Guid> [-VersionId] <Guid> [<CommonParameters>]

Stop-AppvClientConnectionGroup [-Global] [-Name] <String> [<CommonParameters>]

Stop-AppvClientConnectionGroup [-Global] [-ConnectionGroup] <AppvClientConnectionGroup> [<CommonParameters>]

——————-Example 1——————-
Stop a virtual environment for a named group
PS C:\> Stop-AppvClientConnectionGroup -Name “VGroup”
This command stops the virtual environment of the enabled connection group that has the name VGroup.

——————-Example 2——————-
Stop a virtual environment for a group by using its ID
PS C:\> Stop-AppvClientConnectionGroup -GroupID <GroupID>
This command stops the virtual environment of the enabled connection group that has the group ID <GroupID>

——————-Example 3——————-
Stop virtual environment for groups with names that match a string
PS C:\> Get-AppvClientConnectionGroup -Name “VGr*” | Stop-AppvClientConnectionGroup
This command gets all of the enabled connection groups that have the string VGr in the name, and then stops each of their virtual environments.

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

Get-Command Stop-AppvClientConnectionGroup

Get-Command Stop-AppvClientConnectionGroup powershell script command cmdlet appv client

You can also read about

  • Add-AppvClientConnectionGroup
  • Disable-AppvClientConnectionGroup
  • Enable-AppvClientConnectionGroup
  • Get-AppvClientConnectionGroup
  • Mount-AppvClientConnectionGroup
  • Remove-AppvClientConnectionGroup
  • Repair-AppvClientConnectionGroup

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

Leave a Reply

Your email address will not be published. Required fields are marked *