< Back

Stop-AppvClientConnectionGroup

Tue Jan 29, 2019 9:25 pm

NAME Stop-AppvClientConnectionGroup



SYNOPSIS

Shuts down the shared virtual environment of a connection group.





SYNTAX

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



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



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





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 <AppvClientConnectionGroup>

Specifies an App-V Connection Group object.



Required? true

Position? 1

Default value none

Accept pipeline input? true(ByValue)

Accept wildcard characters? false



-Global [<SwitchParameter>]

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.



Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-GroupId <Guid>

Specifies the group ID of a specific connection group.



Required? true

Position? 1

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-Name <String>

Specifies the name of the Microsoft Application Virtualization (App-V) connection group.



Required? true

Position? 1

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-VersionId <Guid>

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.



Required? true

Position? 2

Default value none

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

Microsoft.AppvAgent.AppvClientConnectionGroup







OUTPUTS









NOTES





The cmdlet checks that you have permissions to perform the specific action. If not, the cmdlet returns an error.

If the enable operation fails, the cmdlet returns an error.

If the cmdlet cannot find the connection group on the target computer, the cmdlet returns an error.



Example 1: Stop a virtual environment for a named group



PS C:\\> Stop-AppvClientConnectionGroup -Name "MyGroup"



This command stops the virtual environment of the enabled connection group that has the name MyGroup.





Example 2: Stop a virtual environment for a group by using its ID



PS C:\\> Stop-AppvClientConnectionGroup -GroupID 793afd37-bd68-4ea1-859a-669f6afd0aa8



This command stops the virtual environment of the enabled connection group that has the group ID 793afd37-bd68-4ea1-859a-669f6afd0aa8.





Example 3: Stop virtual environment for groups with names that match a string



PS C:\\> Get-AppvClientConnectionGroup -Name "MyGr*" | Stop-AppvClientConnectionGroup



This command gets all of the enabled connection groups that have the string MyGr in the name, and then stops each of their virtual environments.







RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=827726

Add-AppvClientConnectionGroup

Disable-AppvClientConnectionGroup

Enable-AppvClientConnectionGroup

Get-AppvClientConnectionGroup

Mount-AppvClientConnectionGroup

Remove-AppvClientConnectionGroup

Repair-AppvClientConnectionGroup