description | external help file | ms.date | ms.devlang | schema | title |
---|---|---|---|---|---|
Use this topic to help manage MDOP technologies with Windows PowerShell. |
Microsoft.AppV.AppVClientPowerShell.dll-Help.xml |
12/05/2016 |
powershell |
2.0.0 |
Stop-AppvClientConnectionGroup |
Shuts down the shared virtual environment of a connection group.
Stop-AppvClientConnectionGroup [-Global] [-GroupId] <Guid> [-VersionId] <Guid> [<CommonParameters>]
Stop-AppvClientConnectionGroup [-Global] [-Name] <String> [<CommonParameters>]
Stop-AppvClientConnectionGroup [-Global] [-ConnectionGroup] <AppvClientConnectionGroup> [<CommonParameters>]
The Stop-AppvClientConnectionGroup cmdlet shuts down the shared virtual environment of a connection group. All running processes within the connection group virtual environment are shutdown.
PS C:\> Stop-AppvClientConnectionGroup -Name "MyGroup"
This command stops the virtual environment of the enabled connection group that has the name MyGroup.
PS C:\> Stop-AppvClientConnectionGroup -GroupID 793afd37-bd68-4ea1-859a-669f6afd0aa8
This command stops the virtual environment of the enabled connection group with the group ID 793afd37-bd68-4ea1-859a-669f6afd0aa8.
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.
Not Specified
Type: AppvClientConnectionGroup
Parameter Sets: ByConnectionGroup
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
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 privileges.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the group ID of a specific connection group.
Type: Guid
Parameter Sets: ByGuid
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the name of the Microsoft Application Virtualization (App-V) connection group.
Type: String
Parameter Sets: ByName
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies a GUID that differentiates a connection group version from other versions, whether older, newer, or of a completely different lineage. If you do not specify this parameter, the cmdlet operates on all versions of the connection group.
Type: Guid
Parameter Sets: ByGuid
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
- 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.
Disable-AppvClientConnectionGroup
Enable-AppvClientConnectionGroup
Mount-AppvClientConnectionGroup
Remove-AppvClientConnectionGroup