Stop-AppvClientConnectionGroup

Aggiornamento: dicembre 2014

Si applica a: Application Virtualization 5.0, Application Virtualization 5.0 SP1, Application Virtualization 5.0 SP2, Application Virtualization 5.0 SP3

Stop-AppvClientConnectionGroup

Shuts down the shared virtual environment of a connection group.

Sintassi

Parameter Set: ByGuid
Stop-AppvClientConnectionGroup [-GroupId] <Guid> [-VersionId] <Guid> [-Global] [ <CommonParameters>]

Parameter Set: ByConnectionGroup
Stop-AppvClientConnectionGroup [-ConnectionGroup] <AppvClientConnectionGroup> [-Global] [ <CommonParameters>]

Parameter Set: ByName
Stop-AppvClientConnectionGroup [-Name] <String> [-Global] [ <CommonParameters>]




Descrizione dettagliata

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.

Parametri

-ConnectionGroup<AppvClientConnectionGroup>

Not Specified


Alias

none

Obbligatorio?

true

Posizione?

1

Valore predefinito

none

Accetta input da pipeline?

True (ByValue)

Accetta caratteri jolly?

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 privileges.


Alias

none

Obbligatorio?

false

Posizione?

named

Valore predefinito

none

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

-GroupId<Guid>

Specifies the group ID of a specific connection group.


Alias

none

Obbligatorio?

true

Posizione?

1

Valore predefinito

none

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

-Name<String>

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


Alias

none

Obbligatorio?

true

Posizione?

1

Valore predefinito

none

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

-VersionId<Guid>

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.


Alias

none

Obbligatorio?

true

Posizione?

2

Valore predefinito

none

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

<CommonParameters>

Questo cmdlet supporta i parametri comuni: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer e -OutVariable. Per altre informazioni, vedere   about_CommonParameters (http://go.microsoft.com/fwlink/p/?LinkID=113216).

Input

Il tipo di input è il tipo degli oggetti che è possibile reindirizzare al cmdlet.

  • Microsoft.AppvAgent.AppvClientConnectionGroup

Output

Il tipo di output corrisponde al tipo di oggetti generati dal cmdlet.

Note

  • 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.

Esempi

Example 1: Stop a virtual environment for a named group

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


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

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

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


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

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

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.


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

Argomenti correlati

Aggiunte alla community

AGGIUNGI
Mostra: