Stop-AppvClientConnectionGroup

Letzte Aktualisierung: Dezember 2014

Betrifft: 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.

Syntax

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




Detaillierte Beschreibung

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.

Parameter

-ConnectionGroup<AppvClientConnectionGroup>

Not Specified


Aliasse

none

Erforderlich?

true

Position?

1

Standardwert

none

Pipelineeingaben akzeptieren?

True (ByValue)

Platzhalterzeichen akzeptieren?

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.


Aliasse

none

Erforderlich?

false

Position?

named

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-GroupId<Guid>

Specifies the group ID of a specific connection group.


Aliasse

none

Erforderlich?

true

Position?

1

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-Name<String>

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


Aliasse

none

Erforderlich?

true

Position?

1

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

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.


Aliasse

none

Erforderlich?

true

Position?

2

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

<CommonParameters>

Dieses Cmdlet unterstützt die allgemeinen Parameter: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable. Weitere Informationen finden Sie unter about_CommonParameters (http://go.microsoft.com/fwlink/p/?LinkID=113216).

Eingaben

Der Eingabetyp ist der Typ der Objekte, die über die Pipeline an das Cmdlet übergeben werden können.

  • Microsoft.AppvAgent.AppvClientConnectionGroup

Ausgaben

Der Ausgabetyp ist der Typ der Objekte, die vom Cmdlet ausgegeben werden.

Hinweise

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

Beispiele

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

Verwandte Themen

Community-Beiträge

HINZUFÜGEN
Anzeigen: