Stop-AppvClientPackage

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

Shuts down virtual environments for specified packages.

Sintassi

Parameter Set: ByGuid
Stop-AppvClientPackage [-PackageId] <Guid> [-VersionId] <Guid> [-Global] [ <CommonParameters>]

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

Parameter Set: ByPackage
Stop-AppvClientPackage [-Package] <AppvClientPackage> [-Global] [ <CommonParameters>]




Descrizione dettagliata

The Stop-AppvClientPackage cmdlet shuts down the virtual environment for the specified packages. All applications and processes within that package are forced to shut down. Any unsaved application data is lost.

Parametri

-Global

Specifies that the cmdlet shuts down virtual environments for the specified packages for all users on the computer. Usage of Global parameter requires administrative privileges.


Alias

none

Obbligatorio?

false

Posizione?

named

Valore predefinito

none

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

-Name<String>

Specifies the friendly name of the package given during Sequencing time. This value is obtained from the package manifest.


Alias

none

Obbligatorio?

true

Posizione?

1

Valore predefinito

none

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

-Package<AppvClientPackage>

Not Specified


Alias

none

Obbligatorio?

true

Posizione?

1

Valore predefinito

none

Accetta input da pipeline?

True (ByValue)

Accetta caratteri jolly?

false

-PackageId<Guid>

Specifies a GUID that uniquely identifies the package. It can be found in the package manifest or by opening the package in the Microsoft Application Virtualization (App-V) Sequencer. The package ID is shared by all versions of a package.


Alias

none

Obbligatorio?

true

Posizione?

1

Valore predefinito

none

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

-Version<String>

Specifies the version of an App-V package in a lineage. If you do not specify this parameter, the cmdlet operateson all available versions of the package on the computer.


Alias

none

Obbligatorio?

false

Posizione?

2

Valore predefinito

none

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

-VersionId<Guid>

Specifies a GUID that differentiates a package 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 package.


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

Output

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

  • Microsoft.AppvAgent.AppvClientPackage

Esempi

Example 1: Shut down a virtual environment for a version of a package

This command shuts down the virtual environment of version 2 of package named MyPackage.


PS C:\> Stop-AppvClientPackage -Name "MyPackage" -Version 2

Example 2: Shut down a virtual environment for all versions of a package

This command gets all versions of the package named MyPackage, and then shuts down the virtual environment for those results.


PS C:\> Get-AppvClientPackage -Name "MyPackage" | Stop-AppvClientPackage

Argomenti correlati

Aggiunte alla community

AGGIUNGI
Mostra: